get https://api.alocity.com/v1/integration-management/schedule//devices
This endpoint is used to get all devices either associated or not associated with a specific schedule depending on the value of the inSchedule flag in a paged form.
Response Payload Object
The response's payload will contain an array of objects containing the following values.
Property | Type | Description |
---|---|---|
serialNumber | string | Serial Number of that device in the list. |
name | string | Name of that device in the list. |
Any fields returned in the response's payload that are not listed here are "empty" fields that should be ignored as they will always be the same value or will not be filled in.
Note that if an error was found, then the payload will be null, however if no values were found and no error occurred, then an empty list will be returned instead.
Controlled Errors
Error Code | Error Message |
---|---|
error_schedule_not_found | No schedule with the provided Id was found. |
Any status codes returned that are not provided here are generic status codes that can be found here.