Hi, i want link some geofences to a device but in one request. it's possible make something like this?
Path: /permissions
Operation: PUT
Body: [
{ deviceId: 1, geofenceId: 1 },
{ deviceId: 1, geofenceId: 2 },
{ deviceId: 1, geofenceId: 3 },
]
I tryed this but not work:
Path: /devices/1
Operation: PUT
Body: { id: 1, name: Test, uniqueId: 123456, geofenceIds: [1,2,3] }
The response is OK but not link the geofences.
The idea is sync the relations (link and unlink) in only one request but not make each request individually.
Thanks very much.
Hi, i want link some geofences to a device but in one request. it's possible make something like this?
I tryed this but not work:
The response is OK but not link the geofences.
The idea is sync the relations (link and unlink) in only one request but not make each request individually.
Thanks very much.