Devices in a Schedule

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.

PropertyTypeDescription
serialNumberstringSerial Number of that device in the list.
namestringName 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 CodeError Message
error_schedule_not_foundNo 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.

Language
Authorization
OAuth2
Click Try It! to start a request and see the response here!