"id": "04751d00-aaec-4cfe-bdf5-713c6e2c9c47",
"name": "A级", // 名称
"alias": "非常有意向", // 别名
"color": "#ED3F14", // 颜色
"score_min": 500, // 最小分数
"score_max": 10000, // 最大分数
"status": true, // 可用状态
"user_id": "4d99d91c-f5d9-49da-88da-758977cc58a9",
"created_at": "2020-10-03 09:55:18",
"updated_at": "2020-04-02 15:24:46"
获取可用的标签
接口:GET /v1/tag/usable_tags{
"data": [{
"id": "6367a34d-7a1d-41db-b36a-1c8d1b9c84ed",
"name": "要买", // 名称
"description": "想买", // 描述
"color": "#F0D12D", // 颜色
"status": true, // 状态
"status_str": "正常",
"created_at": "2019-04-30 16:36:38",
"updated_at": "2019-04-30 16:36:38",
"tag_group": [ // 所属母标签
{
"id": "f7eba8dd-3721-4e15-b197-6b0c16639eec",
"user_id": "4d99d91c-f5d9-49da-88da-758977cc58a9",
"name": "有意向", // 母标签名称
"created_at": "2020-03-06 21:54:51",
"updated_at": "2020-03-06 21:54:51",
"tag_scene_id": "a13ad9cb-d9be-4498-bfe3-cd32c677f0dd", // 业务场景id
"tag_scene": { // 母标签所属业务场景
"id": "a13ad9cb-d9be-4498-bfe3-cd32c677f0dd", // 业务场景id
"name": "水果销售", // 业务场景名称
"description": "水果销售",
"user_id": "4d99d91c-f5d9-49da-88da-758977cc58a9",
"created_at": "2020-03-06 21:54:43",
"updated_at": "2020-03-06 21:54:43"
}
}
]
}]
}
获取话术分组
接口:GET /v1/outbound/group{
"data": [{ // 任务列表
"id": 390,
"name": "测试话术【复制】",
"user_id": "4d99d91c-f5d9-49da-88da-758977cc58a9",
"debug": true, // 是否开启调试模式,开启后全部话术走tts
"deleted_at": null,
"created_at": "2020-05-24 14:24:23",
"updated_at": "2020-05-24 14:24:23",
"link_word_group_id": "1", // 使用的衔接词id
"tag_scene_id": "ad2c92fe-f993-47d6-9e86-f73a5511dcae", // 使用的业务场景
"tag_scene": {
"id": "ad2c92fe-f993-47d6-9e86-f73a5511dcae",
"name": "房产销售",
"description": "房产销售",
"user_id": "4d99d91c-f5d9-49da-88da-758977cc58a9",
"created_at": "2020-05-06 22:31:51",
"updated_at": "2020-05-06 22:31:51"
},
"default": false, // 是否是默认话术组
"correction_categories": [], // 使用的纠错词典
"link_word_group": { // 使用的衔接词
"id": 1,
"name": "测试衔接词",
"description": "测试衔接词",
"status": true,
"user_id": "4d99d91c-f5d9-49da-88da-758977cc58a9",
"created_at": "2019-12-12 22:15:20",
"updated_at": "2019-12-12 22:15:20"
},
"has_label": true // 是否含有话术
}],
"links": {
"first": "http://ai.zxycall.com/member/outbound/group?page=1",
"last": "http://ai.zxycall.com/member/outbound/group?page=2",
"prev": null,
"next": "http://ai.zxycall.com/member/outbound/group?page=2"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"path": "http://ai.zxycall.com/member/outbound/group",
"per_page": "15",
"to": 15,
"total": 1
}
}
部分字段解释
debug是否开启调试模式,开启的话,所有文字都走tts
获取客服组列表
接口:GET /v1/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的
}, {
"id": 3,
"user_id": "4d99d91c-f5d9-49da-88da-758977cc58a9",
"name": "客服一组",
"created_at": "2018-12-16 20:51:26",
"updated_at": "2019-03-12 20:16:03",
"caller_line_id": null,
"status": 1
}]