Delete all callback calls associated with outbound campaign name

DELETE {{httptype}}://{{IP}}/mot/{{miralixAccount}}/queues/calls/callbacks/{{outboundCampaignName}}

Deletes all callback calls linked with an outbound campaign name.
HTTP DELETE: /queues/calls/callbacks/{outboundCampaignName}

ParameterValueDescription
outboundCampaignNameStringOutbound campaign name.

Example

https://192.168.1.10/mot/greenbox/queues/calls/callbacks/Winter%20Sale - Removes all callback calls that are linked to outbound campaign with the name Winter Sale

Result

Deletes all callback calls associated with an outbound campaign name. * 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:

ParameterValueDescription
QueueInquiryId{Integer}ID for the call that has been attempted disconnected
DeleteResultDeleted, OfferedToAgentDeleted indicates that the call has been disconnected.
OfferedToAgent indicates that the call is being assigned to an Agent and the call has not be disconnected.
OfferedToAgent can 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":104235,"DeleteResult":"Deleted"},{"QueueInquiryId":104236,"DeleteResult":"OfferedToAgent"}]