Differences
This shows you the differences between two versions of the page.
en:d-sdk:8_geoitems:5_create_geozone [2020/07/16 19:32] cappopt@gmail.com |
en:d-sdk:8_geoitems:5_create_geozone [2021/07/07 13:28] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Create GeoZone ====== | ||
- | The request is intended to create geozone. | ||
- | |||
- | === Request Example === | ||
- | <code php>&svc=create_geozone¶ms={ | ||
- | "id_group": integer, | ||
- | "name": string, | ||
- | "coords": string, | ||
- | "description": string, | ||
- | "surface_area": double, | ||
- | "perimeter": double, | ||
- | "radius": double, | ||
- | "docs_surface_area": string, | ||
- | "max_permissible_speed": integer | ||
- | }</code> | ||
- | |||
- | === Parameters === | ||
- | ^ Parameter ^ Description ^ | ||
- | | id_group | Unique Group ID | | ||
- | | name | Geozone Name | | ||
- | | coords | Geozone Coordinates | | ||
- | | description | Geozone Description | | ||
- | | surface_area | Surface Area | | ||
- | | perimeter | Perimeter | | ||
- | | radius | radius | | ||
- | | docs_surface_area | surface area according to documentation | | ||
- | | max_permissible_speed | maximum allowed speed in the geofence | | ||
- | |||
- | === Additional Information === | ||
- | Without id_group it will save in default geozone group. | ||
- | |||
- | === Server Response === | ||
- | == Result: == | ||
- | <code php>{ | ||
- | "id": 129510 // Geozone ID | ||
- | }</code> | ||