Тема: Create Geofence in a Group
Hello !
How can I create a geofence with in an existing geofence group, I can't find parameter Geofence Group in the process of creating a new geofence.
Thanks !
Вы не вошли. Пожалуйста, войдите или зарегистрируйтесь.
Hello !
How can I create a geofence with in an existing geofence group, I can't find parameter Geofence Group in the process of creating a new geofence.
Thanks !
nasnew, there is no opportunity to set group(s) in geofence creation request:
http://sdk.wialon.com/wiki/ru/sidebar/r … pdate_zone
But You can add new geofence(s) to existing group using resource/update_zones_group request:
http://sdk.wialon.com/wiki/ru/sidebar/r … ones_group
Just add id of Your new geofence to "zns" array.
P.S. Don't forget to add all previous zones of this group to "zns" array. Otherwise old ids will be overwritten.