撤销待呼叫的号码

请求地址

https://{baseURL}/api/ddt/callNumber/revocationList

请求方式

POST

请求参数

Header请求参数

参数名 参数值 是否必填 参数类型 描述说明
Authorization 是 string token(通过获取token接口获取)

Body请求参数

参数名 参数值 是否必填 参数类型 描述说明
code 是 string 外呼任务ID
ids 是 array[string] 号码唯一ID
responsedetail 是 boolean 是否返回数据信息,true-返回具体信息,false-不返回具体信息,建议设置为true

返回参数

参数名 参数值 是否必填 参数类型 描述说明
code 是 int 状态码
msg 是 int
data 是 object
data.failCount 是 int 失败的数量
data.successCount 是 int 成功的数量

请求示例

POST https://{baseURL}/api/ddt/callNumber/revocationList
Accept:application/json;
Authorization:"token"
{
    "code": "{{taskId}}",
    "ids": [
        "847481d7e6f74d2eb88c04ed2b4f5012",
        "02b465e7f8fa4d749c1da8e6fbf2c849"
    ],
    "responsedetail": true
}

返回示例

{
    "msg": "success",
    "code": 0,
    "data": {
        "failCount": 0,
        "successCount": 2
    }
}
文档更新时间: 2026-11-13 16:51   作者:admin