部分字段解释
caller_line_list使用的线路列表,只能使用residue大于1的
enum_disable_dial_timegroup禁呼时间段列表
任务创建
接口:POST /v1/task
data
参数 类型 示例 解释 required
caller_line_id string 37d73edf-4628-4cf1-8beb-758433fd0aab 使用线路列表caller_line_list的value yes
customer_service_id int 1 使用客服组的id no
destination_extension int 297 使用话术分组的id yes
disable_dial_timegroup string 146979fe-3864-4817-ad76-13b37f43bb1c 禁用呼叫时间的uuid yes
maximumcall int 1 并发数(不得超过选用线路的residue) yes
name string 测试任务 任务名称 yes
random_assignment_number int 0 固定为0 yes
recycle_limit int 1 呼叫失败最大重拨次数[弃用,有且只能为0] yes
remark string 第一个任务 任务描述 no
_originate_timeout int 60 拨号超时 yes
call_pause_second int 10 每通电话的呼叫间隔,单并发的建议间隔10秒,多并发可选择0秒 yes
auto_recycle_rule_id int 1 重呼规则id yes
部分字段解释
话术分组列表需要自己请求接口,在其他中;
客服列表需要自己请求接口,在其他中;
{"meta": {"enum_disable_dial_timegroup": [{"uuid": "146979fe-3864-4817-ad76-13b37f43bb1c", // 禁呼时间id"name": "休息时间"}, {"uuid": "cf44b8fc-a60f-499e-a5c8-5340963a56a3","name": "午休时间"}, {"uuid": "a6c20127-1199-4b87-bffa-75ed3e368fd0","name": "早会时间"}],"caller_line_list": [{ // 线路列表"name": "尊享ai.zxycall.com一","value": "37d73edf-4628-4cf1-8beb-758433fd0aab", // 使用线路id"residue": 1, // 剩余并发,只能选大于1的"call_line": 1, // 线路总并发"available_at": "2019-12-18 00:00:00","call_number": "13530525008" // 主叫号码}],"max_recycle_limit": "50", // 可设置最大重拨次数 [弃用,使用重呼规则]"auto_recycle_rules": [{ // 重呼规则"id": 1, // 重呼规则id"name": "测试重呼规则", // 重呼规则名称"remark": "test", // 重呼规则备注"status": true, // 重呼规则状态}],"customer_service": [{ // 客服组"id": 21,"user_id": "4d99d91c-f5d9-49da-88da-758977cc58a9","name": "组2","created_at": "2019-05-10 16:03:09","updated_at": "2019-05-15 18:01:40","caller_line_id": "37d73edf-4628-4cf1-8beb-758433fd0aab", // 使用的转接线路,只能不为null的"status": 1 // 是否可用,必须选为1的}],"outbound_group": [{ // 话术分组"id": 390, // 话术分组ID"name": "测试话术【复制】", // 话术分组名称"user_id": "4d99d91c-f5d9-49da-88da-758977cc58a9","debug": true, // 是否开启调试模式,开启后全部话术走tts"deleted_at": null,"created_at": "2019-02-24 14:24:23","updated_at": "2019-02-24 14:24:23","link_word_group_id": null, // 使用的衔接词组id"tag_scene_id": null, // 关联的业务场景id"default": false}]}
}