1

Get geofence Area number

Topic: 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

(edited by muev 03/05/2019 09:15:19)

Re: Get geofence Area number

samir.agile wrote:

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 wrote:
samir.agile wrote:

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.