Delete all callback calls associated with outbound campaign ID
DELETE {{httptype}}://{{IP}}/mot/{{miralixAccount}}/queues/calls/callbacks/{{outboundCampaignId}}
Delete all callback calls that are linked to an outbound campaign ID.
HTTP DELETE: /queues/calls/callbacks/{outboundCampaignId}
Parameter | Value | Description |
---|---|---|
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/calls/callbacks/0 - Removes all callback calls that are linked to outbound campaign ID 0.
Result
Deletes all callback calls that are linked to an outbound campaign ID. * 200 OK - The query is done correctly. See the JSON response for the finale result. * 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":104233,"DeleteResult":"Deleted"},{"QueueInquiryId":104234,"DeleteResult":"OfferedToAgent"}]