1

Get geofence Area number

Тема: 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?

2

Get geofence Area number

(03/05/2019 09:15:19 отредактировано muev)

Re: Get geofence Area number

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&params={"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.

3

Get geofence Area number

Re: Get geofence Area number

muev пишет:
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&params={"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.

4

Get geofence Area number

Re: Get geofence Area number

You can only get unit's position and check in what geozones it is with get_zones_by_point request.