Hi!
I am looking for a way to retrieve either Department status (Online/offline) or Department Operating hours via REST API.
The problem is that Real Time Chat API agents/agents_online will retrieve that agents are online in a specific department even if the department is offline by the Operating hours schedule.
Chat API /departments endpoint do not seem to contain these settings.
Is there any way to:
- Retrieve current status of a department (Online/offline taking in consideration all factors that can affect it) or
- Access department Operating hours as set up in Chat --> Account --> Operating hours via REST API?