Delete all callback calls associated with outbound campaign ID from a specific queue
DELETE {{httptype}}://{{IP}}/mot/{{miralixAccount}}/queues/{{callsQueueId}}/calls/callbacks/{{outboundCampaignId}}
Deletes all callback calls linked to an outbound campaign ID, in a specific queue.
HTTP DELETE: /queues/{queueId}/calls/callbacks/{outboundCampaignId}
Parameter | Value | Description |
---|---|---|
queueId | Integer | ID for a queue |
outboundCampaignId | Integer | Outbound campaign ID. Currently all created callback calls are currently associated with OutboundCampaignId 0. |
Example
https://192.168.1.10/mot/greenbox/queues/12/calls/callbacks/0 - Removes all callback calls that is linked to outbound campaign ID 0, in the queue with queueId 12
Result
Deletes all callback calls linked to an outgoing campaign ID in a specific queue. * 200 OK - The query is done correctly. See the JSON response for the finale result. * 404 Not Found - Queue not found * 409 Conflict - All calls are being offered to agents, so no calls has not been disconnected. * 500 Internal Server Error - Internal processing error.
JSON result
For each callback call, the following results are displayed:
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"},{"QueueInquiryId":47823,"DeleteResult":"OfferedToAgent"}]