https://api.laaffic.com/v3/voice/recallFlow/cancel
| 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 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
}| Parameter | Description | Type |
|---|---|---|
| status | "0"means successful, others than 0 means failure, seeing Status Code description. | String |
| reason | Failure reason description | String |
| data |
{
"status": 0,
"reason": "success",
"data": null
}| status | Response Status Code |
|---|---|
| 0 | success |
| -1 | Authentication error |
| -2 | Restricted IP access |
| -16 | Timestamp expires |
| -18 | Port program unusual |
| -22 | Parameter exception |