Тема: Get geofence Area number
How to get geofence area number by unit ? How to setup and configure?
From which API we can get this number?
Вы не вошли. Пожалуйста, войдите или зарегистрируйтесь.
How to get geofence area number by unit ? How to setup and configure?
From which API we can get this number?
How to get geofence area number by unit
Good afternoon!
To get all the information about geozones you can use core/search_items request. The example of searching request parameters below:
svc=core/search_items¶ms={"spec":{
"itemsType": "avl_resource",
"propName": "zones_library",
"propValueMask": "*",
"sortType": "zones_library",
"propType": "propitemname"
},
"force": 1,
"flags": 4096,
"from": 0,
"to": 0}
You can use update_zone to edit or create new geozones.
samir.agile пишет:How to get geofence area number by unit
Good afternoon!
To get all the information about geozones you can use core/search_items request. The example of searching request parameters below:
svc=core/search_items¶ms={"spec":{ "itemsType": "avl_resource", "propName": "zones_library", "propValueMask": "*", "sortType": "zones_library", "propType": "propitemname" }, "force": 1, "flags": 4096, "from": 0, "to": 0}
You can use update_zone to edit or create new geozones.
Thanks for your answer,
But I need it by unit name if i select any particular unit and then its corresponding geofence/area number should come.
You can only get unit's position and check in what geozones it is with get_zones_by_point request.