| Parameters | Description | Required | Required |
|---|---|---|---|
| type | Batch processing type, 2 batch deletion, 3 disabled 4 enabled | Yes | Integer |
| idList | Batch agent ID collection | Yes | List<Integer> |
Request URL:
https://api.itniotech.com/v3/cc/seat/batchingSeat
Request Method:
POST
Request Headers:
Content-Type: application/json;charset=UTF-8
Sign: 05d7a50893e22a5c4bb3216ae3396c7c
Timestamp: 1630468800
Api-Key: bDqJFiq9
Request Body:
{
"type": 2,
"idList":[12]
}
| Parameters | Description | Required |
|---|---|---|
| status | status code,0 is successful. For other failures, please refer to the interface response code | String |
| reason | Failure reason description | String |
| data | Return null | String |
{
"status": "0",
"reason": "success",
"data": null
}
| status | Description |
|---|---|
| 0 | Success |
| -1 | Authentication error |
| -2 | Authentication error |
| -16 | Timestamp expires |
| -18 | Port program unusual |
| -20 | Data existing |
| -22 | Parameter exception |
| -23 | Data caps |
| -67 | The agent is currently on a call, please try again later! |
| -68 | Agents in the group call task cannot be deleted. Please delete them after completing the group call task. |