新增外呼批次
前置条件
- 已经申请了开发者账号。
- 外呼任务状态为草稿、执行中、暂停、已完成。
场景描述
通过该接口为指定外呼活动新增外呼批次。
接口方法
该接口仅支持POST方法。
接口URL
https://ip:port/rest/isales/v1/openapi/campaigns/{vdnId}/callbatch/{campaignId}/create
其中,ip为CC-iSales服务器地址,port为CC-iSales服务器的HTTPS端口号。
序号 | 参数名 | 参数类型 | 是否必选 | 说明 |
|---|---|---|---|---|
1 | vdnId | int | True | 虚拟呼叫中心ID。 取值的类型为整数,取值范围为1~9999。 |
2 | campaignId | int | True | 外呼活动的ID。 |
请求说明
序号 | 名称 | 参数类型 | 是否必选 | 说明 |
|---|---|---|---|---|
1 | Content-Type | String | True | 固定填 application/json; charset=UTF-8。 |
2 | Authorization | String | True | 生成方式参见C2 监控/系统外呼/话单/知识库类接口鉴权方式。 |
序号 | 参数名 | 参数类型 | 是否必选 | 说明 |
|---|---|---|---|---|
1 | name | String | True |
|
2 | status | int | False | 批次状态, 1:启动 2:暂停,默认暂停状态。 |
响应说明
触发事件
无
错误结果码
报文样例
- 该接口的请求消息体举例如下:
{ "name": "test", "status": 1 } - 该接口的响应消息体举例如下:
{ "returnCode": "0200000", "returnObject": { "id": "174712034211433247704877116507" }, "resultCode": "0200000", "resultDesc": "success", "returnDesc": "success" }

