呼叫中心外呼任务
获取外呼任务详情
按外呼任务 ID 查询自动或手动外呼任务的基础信息和执行统计;同一企业查询间隔不小于一分钟。
请求参数
| 名称 | 类型 | 必填 | 描述 | 示例值 |
|---|---|---|---|---|
| appKey | string | 是 | 应用 AppKey | |
| time | int64 | 是 | 请求时间戳,单位秒 | |
| checksum | string | 是 | 请求签名校验和 | |
| checksumAlgorithm | int32 | 否 | 签名算法:0=SHA1,1=SHA256 |
请求体
| 名称 | 类型 | 必填 | 描述 | 示例值 |
|---|---|---|---|---|
| taskId | int64 | 是 | 外呼任务 ID | 100001 |
返回参数
| 名称 | 类型 | 描述 | 示例值 |
|---|---|---|---|
| code | int32 | 业务状态码,200 表示业务成功 | 200 |
| data | object | ||
| └answerCount | int32 | 接通数量 | 52 |
| └name | string | 任务名称 | 6月客户回访 |
| └startTime | int64 | 开始时间,毫秒时间戳 | 1719763200000 |
| └forecastType | int32 | 外呼任务类型:0=手动外呼,1=自动外呼 | 0 |
| └endTime | int64 | 结束时间,毫秒时间戳 | 1719849599000 |
| └bizStatus | int32 | 业务状态 | 1 |
| └exeCount | int32 | 执行数量 | 80 |
| └customCount | int32 | 客户数量 | 128 |
| └status | int32 | 任务状态 | 1 |
| └staffCount | int32 | 客服数量 | 5 |
| └seatNames | string | 坐席名称 | 张三,李四 |
| └desc | string | 任务描述 | 回访近期咨询客户 |
| message | string | 响应消息;业务失败时为失败原因 | success |
错误码
| 状态码 | 描述 |
|---|---|
| 12001 | 查询过于频繁 |
| 14001 | AppKey 不存在 |
| 14002 | checksum 校验失败 |
| 14003 | 请求时间戳与服务器时间误差超过 10 分钟 |
| 14004 | 请求参数或内容不合法 |
| 14009 | 请求过于频繁 |
| 14500 | 系统异常或处理超时 |
postEndpoint
/openapi/ipcc/calltask/getcurl -X POST "https://qiyukf.com/openapi/ipcc/calltask/get?appKey=string&time=0&checksum=string" \ -H "Content-Type: application/json" \ -d '{ "taskId": 100001 }'{
"code": 200,
"data": {
"answerCount": 52,
"name": "6月客户回访",
"startTime": 1719763200000,
"forecastType": 0,
"endTime": 1719849599000,
"bizStatus": 1,
"exeCount": 80,
"customCount": 128,
"status": 1,
"staffCount": 5,
"seatNames": "张三,李四",
"desc": "回访近期咨询客户"
},
"message": "success"
}{
"code": 12001,
"message": "查询过于频繁"
}{
"code": 14001,
"message": "AppKey 不存在"
}{
"code": 14002,
"message": "checksum 校验失败"
}{
"code": 14003,
"message": "请求时间戳与服务器时间误差超过 10 分钟"
}{
"code": 14004,
"message": "请求参数或内容不合法"
}{
"code": 14009,
"message": "请求过于频繁"
}{
"code": 14500,
"message": "系统异常或处理超时"
}这篇文档有帮助吗?