This method retrieves the expected wait time to be connected to an agent. This enables mobile users to use this information to decide whether or not to hold.
A request is sent to the server to get the Estimated Wait Time (EWT) when a user selects the Call Now action. To minimize the number of requests to the telephony server, the EWT is based on statistics collected over a period of time. (There is therefore no need to request it at very short time intervals.) Once the EWT is returned, the server directs the user to the relevant voice queue.
URI Syntax and Example
http://[host:port]Application Name/version/[version]/account/[accountID]/[object]/[Object-Id]/[Object-Instance-Id]/[operation]
https://api.interact.jacada.com/version/1/account/<accountid>/voice/queue/3099/EWT
3099 represents the voiceQueue, sent to the client via local function local://call?phone=0123456789&voiceQueue=3099.
The request parameter is as follows:
The voiceQueue is an alphanumeric voice queue name, which checks for the wait time in a specific voice queue. |
HTTP Method
GET
HTTP OK 200
The response parameters are as follows:
|
A response example is as follows:
|