/admin/getDevicesForLocations: Get all devices grouped by location.
GET/admin/getDevicesForLocations
What
Returns the paired devices for one or more locations, grouped by location id.
Each entry in the result map contains a list of device objects with the following fields:
serialId, name, info, deviceType (integer).
If a requested location id is unknown or has no paired devices, the corresponding list in the result will be empty — the key is still present in the response.
Multiple location ids are passed as repeated query parameters:
?locationIds=aaa&locationIds=bbb
Who
Account administrators of the account (and higher).
Login
Login, API key or Sensor signature (all allowed).
Request
Responses
- 200
- 404
OK
Not Found