Cancelling All Pending Outbound Calls
Cancel All Pending Outbound Calls
DELETE
https://insight.plumvoice.com/api/surveys/{survey_id}/{instance_id}/cancel
Cancel all pending outbound calls in the call queue.
Path Parameters
survey_id
string
Plum Insight survey ID number
instance_id
string
Plum Insight survey instance number
Headers
content-type
string
application/x-www-form-urlencoded
Possible Response Codes
Note: On a successful response (HTTP code 202), no body will be returned.
202: calls successfully marked for deletion
401: authentication headers invalid or the account is inactive
403: the account attempting to cancel calls does not have appropriate permissions
404: deployment was not found by the supplied survey and instance id
405: invalid HTTP method supplied (only DELETE allowed)
415: unsupported media type (Content-Type value in request)
500: database error
The return structure will contain the following item(s):
Name
Data Type
Always Present
Description
success
boolean
no
Indicates the outcome of the request. This will only be present when the response http code is something other than HTTP 202, indicating a failure.
error
string
no
If the success value is false this provides a message indicating what error(s) occurred. This will only be present when the response http code is something other than HTTP 202, indicating a failure.
Sample Code
This sample PHP code that makes a request to this method:
Last updated