get https://mytenant.cx.onecloud.com/clientweb/api/v2/availability
This method returns the availability status of the configured hours of operation of the associated Messaging/Chat scenario entry. Optionally, Estimated Wait time (EWT) (in seconds) may be returned but could be missing if the server does not have enough data to estimate the EWT value. Note that the API does not check if there are any agents actually logged in.
Status Name | Description |
---|
available | The requested service is available. |
notAvailable | The office providing the requested service is currently closed. |
Code | Description |
---|
200 | Success: Returns the scenario entry’s current status / EWT (optionally) |
Code | Description |
---|
403 | Forbidden |
503 | Service Unavailable |