Delete a call from a specific queue with a queue call ID
DELETE {{httptype}}://{{IP}}/mot/{{miralixAccount}}/queues/{{callsQueueId}}/calls/{{QueueCallId}}
End a call with a specific queue call ID, from a queue that has a specific queue ID.
HTTP GET: /queues/{queueId}/calls/{queueCallId}
Parameter | Value | Description |
---|---|---|
queueId | Integer | ID for a queue |
queueCallId | Integer | Queue call ID (QueueCallId) for the call that is to be disconnected |
Example
https://192.168.1.10/mot/greenbox/queues/7/calls/6545 - Ends the call with queueCallId 6545 and queueId 7
Resultat
- 200 OK - The call has been disconnected.
- 403 Forbidden - Missing required License to access this request.
- 404 Not Found - The call could not be found.
- 409 Conflict - The call is being offered to an agent, so the call has not been disconnected.
- 500 Internal Server Error - Internal processing error.
JSON result
Parameter | Value | Description |
---|---|---|
QueueInquiryId | {Integer} | ID for the call that has been attempted disconnected |
DeleteResult | Deleted, OfferedToAgent | Deletedindicates that the call has been disconnected. OfferedToAgentindicates that the call is being assigned to an Agent and the call has not be disconnected. OfferedToAgentcan also be used for callback calls that has been answered by an agent, but has not been completed yet. The call has not be disconnected. |
RESPONSES
status: OK
{"QueueInquiryId":47821,"DeleteResult":"Deleted"}