To create, edit or delete geofences group, use the command resource/update_zones_group:
svc=resource/update_zones_group¶ms={"itemId":<long>, "id":<long>, "callMode":<text>, "n":<text>, "d":<text>, "zns":[<uint>], "f":<uint>}
Name | Description |
---|---|
itemId | resource ID |
id | geofences group ID |
callMode | action: create, update, delete |
Parameters required only for create and update: | |
n | name |
d | description |
zns | array of geofences IDs |
f | flags: not used at the moment |
On create and edit:
[ <long>, /* group ID */ { "id":<long>, /* group ID */ "n":<text>, /* name */ "d":<text>, /* description */ "zns":[<uint>] /* array of geofences IDs */ } ]
On delete:
[ <long>, /* group ID */ null ]
|