ai电销机器人源码搭建开发-任务相关模块

部分字段解释

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
        }]
    }
}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值