獲取已配置的評(píng)分等級(jí)
接口:GET /v1/setting/record_level
返回
[{
"id": "04751d00-aaec-4cfe-bdf5-713c6e2c9c47",
"name": "A級(jí)", // 名稱
"alias": "非常有意向", // 別名
"color": "#ED3F14", // 顏色
"score_min": 500, // 最小分?jǐn)?shù)
"score_max": 10000, // 最大分?jǐn)?shù)
"status": true, // 可用狀態(tài)
"user_id": "4d99d91c-f5d9-49da-88da-758977cc58a9",
"created_at": "2020-10-03 09:55:18",
"updated_at": "2020-04-02 15:24:46"
}]
獲取可用的標(biāo)簽
接口:GET /v1/tag/usable_tags
1.返回
{
"data": [{
"id": "6367a34d-7a1d-41db-b36a-1c8d1b9c84ed",
"name": "要買(mǎi)", // 名稱
"description": "想買(mǎi)", // 描述
"color": "#F0D12D", // 顏色
"status": true, // 狀態(tài)
"status_str": "正常",
"created_at": "2019-04-30 16:36:38",
"updated_at": "2019-04-30 16:36:38",
"tag_group": [ // 所屬母標(biāo)簽
{
"id": "f7eba8dd-3721-4e15-b197-6b0c16639eec",
"user_id": "4d99d91c-f5d9-49da-88da-758977cc58a9",
"name": "有意向", // 母標(biāo)簽名稱
"created_at": "2020-03-06 21:54:51",
"updated_at": "2020-03-06 21:54:51",
"tag_scene_id": "a13ad9cb-d9be-4498-bfe3-cd32c677f0dd", // 業(yè)務(wù)場(chǎng)景id
"tag_scene": { // 母標(biāo)簽所屬業(yè)務(wù)場(chǎng)景
"id": "a13ad9cb-d9be-4498-bfe3-cd32c677f0dd", // 業(yè)務(wù)場(chǎng)景id
"name": "水果銷售", // 業(yè)務(wù)場(chǎng)景名稱
"description": "水果銷售",
"user_id": "4d99d91c-f5d9-49da-88da-758977cc58a9",
"created_at": "2020-03-06 21:54:43",
"updated_at": "2020-03-06 21:54:43"
}
}
]
}]
}
獲取話術(shù)分組
接口:GET /v1/outbound/group
返回
{
"data": [{ // 任務(wù)列表
"id": 390,
"name": "測(cè)試話術(shù)【復(fù)制】",
"user_id": "4d99d91c-f5d9-49da-88da-758977cc58a9",
"debug": true, // 是否開(kāi)啟調(diào)試模式,開(kāi)啟后全部話術(shù)走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", // 使用的業(yè)務(wù)場(chǎng)景
"tag_scene": {
"id": "ad2c92fe-f993-47d6-9e86-f73a5511dcae",
"name": "房產(chǎn)銷售",
"description": "房產(chǎn)銷售",
"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, // 是否是默認(rèn)話術(shù)組
"correction_categories": [], // 使用的糾錯(cuò)詞典
"link_word_group": { // 使用的銜接詞
"id": 1,
"name": "測(cè)試銜接詞",
"description": "測(cè)試銜接詞",
"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 // 是否含有話術(shù)
}],
"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是否開(kāi)啟調(diào)試模式,開(kāi)啟的話,所有文字都走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", // 使用的轉(zhuǎn)接線路,只能不為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
}]
部分字段解釋
status,該客服組是否可用,只能選擇可用的客服組