1

Gofence Creation

Тема: Gofence Creation

Hello,

I am using the remote API and tried creating a Geofence with "resource/update_zone" . I want to give a custom ID to the geofence, but after creation I found out the ID of the geofence to be an automatic ID assigned by the system , not the one i passed as value ID. can you please assist on what I should do to assign custom ID to geofence.

Thanks !

2

Gofence Creation

Re: Gofence Creation

Hello

In Wialon used auto-increment ids, so you cant use custom one

3

Gofence Creation

Re: Gofence Creation

OK no option, I will look for a work around.  is there any way I can get list of created Geofence-Groups and get the ID of a Geofence-Group by name.

Thanks  !

4

Gofence Creation

Re: Gofence Creation

nasnew пишет:

OK no option, I will look for a work around.  is there any way I can get list of created Geofence-Groups and get the ID of a Geofence-Group by name.

Thanks  !

Geofences and Geofence-Groups are sub-item of Resources.

So if you add geofences and geofences groups flags while search resources - you'll get all needed information.

Also check this sample