Cancellation of Automatic Redial Task

POST

https://api.laaffic.com/v3/voice/recallFlow/cancel

Cancellation of automatic redial tasks: The entire automatic redial task can be canceled, or the execution of the current node and subsequent nodes can be canceled starting from a specific node within the automatic redial task.
 
Request Parameters
Parameter Description Required Type
type Cancellation Type:1 - Cancel the automatic redial task based on the primary key of the automatic redial task process;2 - Cancel the automatic redial task based on the parent task ID;3 - Cancel the current node and subsequent nodes using the unique primary key of the process node. For Cancellation Types [1, 2], the entire automatic redial task can be canceled, but only when the task is in a "Pending" status. For Cancellation Type [3], the execution of the current node and subsequent nodes within the automatic redial task can be canceled starting from a specific node, but only when that node is in a "Pending" status. Yes Int
id Pass parameters based on the type value. When type is 3, pass the keyID from within the nodelist Yes Int
 
Request Example
Request URL: 
    https://api.laaffic.com/v3/voice/recallFlow/cancel
Request Method: 
    POST
Request Headers:
    Content-Type: application/json;charset=UTF-8
    Sign: 05d7a50893e22a5c4bb3216ae3396c7c
    Timestamp: 1630468800
    Api-Key: bDqJFiq9
Request Body:
{
    "type": 1,
    "id":12
}
 
Response Parameters
Parameter Description Type
status "0"means successful, others than 0 means failure, seeing Status Code description. String
reason Failure reason description String
data    
 
Response Example
{
	"status": 0,
	"reason": "success",
	"data": null
}
 
Response Codes
status Response Status Code
0 success
-1 Authentication error
-2 Restricted IP access
-16 Timestamp expires
-18 Port program unusual
-22 Parameter exception

Telegram
WhatsApp
Chat with us!
Need help?
Click here and start chatting with us!