通話相關(guān)
某任務(wù)的通話記錄列表
接口:POST v1/task/query_done_task_phones
data
參數(shù) 類型 示例 解釋 required
task_id string 1bcecc13-e873-4910-913c-d9246a891280 外呼任務(wù)的id yes
page int 1 頁碼 yes
id string b1e91cb9-597cc-a5d25c339a99 通話記錄的id no
levels array [[0, 100], [100, 500]] 評(píng)分等級(jí)對(duì)應(yīng)的評(píng)分區(qū)間 no
keyword string 18651683344 被叫號(hào)碼 no
bills array [0, 200] 通話時(shí)間(秒) no
rounds array [0, 5] 交互次數(shù) no
tags array [1bcecc13-e873-499c-913c-d9246a898180] 標(biāo)簽的id no
start_at string 2019-05-23 23:59:59 開始時(shí)間 no
end_at string 2019-05-23 23:59:59 結(jié)束時(shí)間 no
返回
{
"data": [{ // 通話記錄列表
"tags": [ // 本次通話被打上的子標(biāo)簽列表
{
"id": "ee109a20-6b98-4463-94fe-ea730e2188c7", // 子標(biāo)簽id
"name": "臟話", // 子標(biāo)簽名稱
"description": "臟話",
"color": "#2d8cf0", // 子標(biāo)簽顏色
"user_id": "4d99d91c-f5d9-49da-88da-758977cc58a9",
"status": true, // 子標(biāo)簽狀態(tài)
"created_at": "2020-03-06 21:55:56",
"updated_at": "2020-03-06 21:55:56",
"pivot": { // 子標(biāo)簽 - 母標(biāo)簽 的關(guān)聯(lián)關(guān)系記錄
"taggable_id": "80599bfe-7027-412f-adec-1f24075219ca",
"tag_id": "ee109a20-6b98-4463-94fe-ea730e2188c7",
"created_at": "2020-03-06 22:32:37",
"updated_at": "2020-03-06 22:32:37"
},
"tag_groups": [ // 此標(biāo)簽屬于的母標(biāo)簽
{
"id": "fbe408c5-f77f-49cd-9bd1-85ca0b434bcc",
"user_id": "4d99d91c-f5d9-49da-88da-758977cc58a9",
"name": "無意向",
"created_at": "2020-03-06 21:54:58",
"updated_at": "2020-03-06 21:54:58",
"tag_scene_id": "a13ad9cb-d9be-4498-bfe3-cd32c677f0dd" // 母標(biāo)簽屬于的業(yè)務(wù)場(chǎng)景
}
]
}
],
"tag_groups": [ // 命中的母標(biāo)簽列表
{
"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": "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": "fbe408c5-f77f-49cd-9bd1-85ca0b434bcc",
"user_id": "4d99d91c-f5d9-49da-88da-758977cc58a9",
"name": "無意向",
"created_at": "2020-03-06 21:54:58",
"updated_at": "2020-03-06 21:54:58",
"tag_scene_id": "a13ad9cb-d9be-4498-bfe3-cd32c677f0dd"
},
],
"operator_name": "聯(lián)通", // 運(yùn)營商
"id": "6d44d2f4-90f9-4621-8c77-e5e70c810623", // 本次通話記錄的id
"task_id": "234cdcac-501c-47b5-9c06-47a658f363b8",// 任務(wù)id
"group_id": 299, // 話術(shù)組id
"callid": "d6a577d4-7180-11e9-80bd-7fed30fcff3f",
"score": 0, // 通話得分
"callee": "18810495721", // 被叫號(hào)碼
"caller_number": "300708", // 主叫號(hào)碼
"duration": 60080,
"error_code": 0,
"gender": 1, // 性別
"level_id": "e605e0b0-96b2-4af0-9b78-7cdd5fc6b783",
"calldate": "2019-05-08 19:02:58",
"bill": 31319, // 通話時(shí)間ms
"hangupcause": "NORMAL_CLEARING",
"hangupdate": "2019-05-08 19:03:58",
"answerdate": "2019-05-08 19:03:26",
"recordfile": "/mnt/smartivr/recordings/2019-05-08/18810495721.299.19-03-27.d6a577d4-7180-11e9-80bd-7fed30fcff3f.wav", // 全程通話錄音在硬盤里的位置
"bridge_callid": null,
"bridge_number": null,
"bridge_calldate": null,
"bridge_answerdate": null,
"hangup_disposition": 1, // 掛斷方
"created_at": "2019-05-08 19:03:27",
"updated_at": "2019-05-08 19:03:59",
"rounds": 0, // 通話輪數(shù)
"level_name": "D級(jí)(無意向)",
"bredge_number": null,
"read_at": "2020-03-06 23:06:46", // 查看時(shí)間
"province_id": 3, // 省id
"city_id": 12, // 市id
"operator": 2, // 運(yùn)營商
"level": { // score對(duì)應(yīng)評(píng)分等級(jí)
"id": "e605e0b0-96b2-4af0-9b78-7cdd5fc6b783",
"name": "D級(jí)",
"alias": "無意向",
"color": "#000"
},
"gender_str": "未知", // 性別
"hangup_disposition_str": "AI", // 掛斷方
"city": { // 被叫號(hào)碼的歸屬地
id: 12
pid: 3
city: "南京"
area_code: "025"
post_code: "210000"
created_at: "2019-05-09 09:08:45"
updated_at: "2019-05-09 09:08:45"
},
"province": {// 被叫號(hào)碼的歸屬地
"id": 3,
"pid": null,
"city": "江蘇",
"area_code": "0519",
"post_code": "213000",
"created_at": "2019-05-09 09:08:45",
"updated_at": "2019-05-09 09:08:45"
},
}],
"total": 1, // 總計(jì)多少條數(shù)據(jù)
"last_page": 1 // 總計(jì)多少頁(每頁15條)
}
字段說明 1.評(píng)分等級(jí)需要自己請(qǐng)求,接口在其他中; 2.標(biāo)簽需要自己請(qǐng)求,接口在其他中;
某任務(wù)的電話號(hào)碼
接口:GET v1/task/number
params
參數(shù) 類型 示例 解釋 required
task_id string 1bcecc13-e873-4910-913c-d9246a891280 外呼任務(wù)的id yes
page int 1 頁碼 yes
status array [0 ,1] 號(hào)碼的狀態(tài) no
keyword string 18651683344 被叫號(hào)碼 no
type array [‘lt’, ‘dx’, ‘yd’] 運(yùn)營商 no
call_history int 1 是否要呼叫記錄[不傳或者傳0為不要] No
status:
0等待呼叫、1呼叫成功、2線路故障、3拒接、4無應(yīng)答/無人接聽、5空號(hào)、6關(guān)機(jī)、7停機(jī)、8占線/用戶正忙、9呼入限制、10欠費(fèi)、11黑名單、12呼損
返回
{
"code": 200,
"status": "ok",
"message": "獲取號(hào)碼列表成功",
"data": {
"data": [
{
"number": "18651683344", // 被叫號(hào)碼
"city": "南京", // 號(hào)碼地區(qū)
"pro": "江蘇", // 號(hào)碼地區(qū)
"mobile_type": "聯(lián)通", // 號(hào)碼運(yùn)營商
"area_code": "025",
"post_code": "210000",
"id": 1691,
"status_str": "呼叫成功", // 被叫號(hào)碼狀態(tài)
"callid": "90a48ed3-a5f6-4904-b1f3-a9ec883b069f",
"calldate": "2020-03-06 23:04:37",
"bill": 26638,
"duration": 35639,
"hangupcause": "NORMAL_CLEARING",
"hangupdate": "2020-03-06 23:05:12",
"answerdate": "2020-03-06 23:04:46",
"is_blacklist": false, // 是否在黑名單中
"status": 1, // 被叫號(hào)碼狀態(tài)
"call_history": [ // 呼叫記錄,call_history不傳或者為0沒有這個(gè)字段
{
"id": 356036, // auto_call_histories表里對(duì)應(yīng)的id
"user_id": "4d99d91c-f5d9-49da-88da-758977cc58a9",
"task_id": "772dd881-dcf7-42ee-a32b-b40a0ee5afb7", // 任務(wù)id
"call_id": "90a48ed3-a5f6-4904-b1f3-a9ec883b069f",
"number_id": 1691,
"number": "18651683344",
"call_time": "2020-03-06 23:04:37", // 呼叫時(shí)間
"duration": 35639,
"hangup_cause": "NORMAL_CLEARING",
"hangup_code": "200",
"bill": 26638,
"call_status": "answer",
"status": 1, // 呼叫狀態(tài)
"record_file": "/mnt/smartivr/recordings/2020-03-06/18651683344.90a48ed3-a5f6-4904-b1f3-a9ec883b069f.wav", // 全程錄音地址,沒接通為null
"calling_number": "17361984317",
"province_id": 3,
"city_id": 12,
"operator": 2,
"created_at": "2020-03-06 23:05:14",
"updated_at": "2020-03-06 23:05:14",
"status_str": "呼叫成功",
},
{
"id": 354060,
"user_id": "4d99d91c-f5d9-49da-88da-758977cc58a9",
"task_id": "772dd881-dcf7-42ee-a32b-b40a0ee5afb7",
"call_id": "1569523c-d3d3-48fd-97a0-ad88d6606a19",
"number_id": 1691,
"number": "18651683344",
"call_time": "2020-03-04 20:50:36",
"duration": 13339,
"hangup_cause": "NORMAL_CLEARING",
"hangup_code": null,
"bill": 0,
"call_status": "busy now",
"status": 8,
"record_file": null,
"calling_number": "17361984317",
"province_id": 3,
"city_id": 12,
"operator": 2,
"created_at": "2020-03-04 20:50:50",
"updated_at": "2020-03-04 20:50:50",
"status_str": "占線、用戶正忙",
}
]
}
],
"total": 1, // 總計(jì)多少條數(shù)據(jù)
"last_page": 1 // 總計(jì)多少頁(每頁15條)
}
}
查詢某通通話簡(jiǎn)要信息【可用來查詢?nèi)蝿?wù)ID】
接口:GET v1/record/{record_id}
返回
{
"code": 200,
"status": "ok",
"message": "獲取任務(wù)信息成功",
"data": {
"id": "b1e91cb9-5994-47cc-a5df-25c3e8439a99",
"task_id": "d77d6f95-0e40-46d4-8bda-30343411da47",
"group_id": 297,
"callid": "eb9464a2-adf2-4621-9157-64892e86e273",
"score": 165,
"callee": "1890685250",
"caller_number": "17368564879",
"duration": 58999,
"error_code": 0,
"gender": 2,
"level_id": "d968d649-fe6f-425f-a3d4-aa800b8740ba",
"calldate": "2020-02-22 15:16:56",
"bill": 48079,
"hangupcause": "NORMAL_CLEARING",
"hangupdate": "2020-02-22 15:17:55",
"answerdate": "2020-02-22 15:17:07",
"recordfile": "/mnt/smartivr/recordings/2020-02-22/18906023250.eb9464a2-adf2-4621-9157-64892e86e273.wav",
"bridge_callid": null,
"bridge_number": null,
"bridge_calldate": null,
"bridge_answerdate": null,
"hangup_disposition": 2,
"created_at": "2020-02-22 15:17:07",
"updated_at": "2020-03-02 16:08:51",
"rounds": 12,
"level_name": "C級(jí)(可再次跟進(jìn))",
"bredge_number": null,
"read_at": "2020-03-02 16:08:51",
"province_id": 0,
"city_id": 0,
"operator": 0,
"gender_str": "男",
"hangup_disposition_str": "客戶"
}
}
某通話記錄的詳情
接口:GET /v1/task/record_info/{task_id}/{record_id}
返回
{
"records": [{ // 主要通話內(nèi)容
"id": "1c1ba3e3-83a4-4b7d-91b3-006abd3ff7bd",
"record_id": "9c736f53-0c1b-4047-b30a-dd87d2968541",
"task_id": "840a4346-d0ac-4800-9c73-3d06275a9158",
"notify": "enter", // 需要過濾掉'notify'為'asrprogress_notify'的
"callid": "281db55e-64e8-11e9-9bb2-3564eb72c846",
"error_code": 0,
"asrtype": null,
"callee": "18651683344",
"gender": null, // 性別
"asr_elapse": null,
"record_ms": null,
"volume_gain": null,
"question": "", // 用戶說的話
"question_index": 0,
"speak_ms": 0,
"play_ms": 0,
"keyword": "",
"answer_id": "e0b4bfc6-e87d-4e1f-af24-d44c10a5bd0a",
"answer_text": "流程1",
"word_class": "16",
"score": 0, // 此次通話的得分
"sequence": 1,
"created_at": "2019-04-22 18:19:55",
"updated_at": "2019-04-22 18:19:55",
"bridge_status": null,
"answer_content": "同學(xué),您好,我是滬江網(wǎng)校的工作人員,來電是因?yàn)榱私獾侥瓣P(guān)注過英文學(xué)習(xí)方面,想借用您幾分鐘時(shí)間做個(gè)簡(jiǎn)單的小回訪,希望在英文學(xué)習(xí)上給您帶來幫助\n普通文本,沒有變量\n羅文龍先生", // 話術(shù)包含的內(nèi)容(會(huì)轉(zhuǎn)化姓名等變量),機(jī)器人說的話(一般顯示這個(gè)就可以了)
"contents": [{ // 設(shè)計(jì)話術(shù)的原始數(shù)組
"id": "d2b32d5d-4b05-4b51-91ae-40da779123ab",
"file_id": "bf4d6a59-1a37-4ad8-a616-edcc5a9fd813", // 上傳錄音的ID
"sort": 0, // 在當(dāng)前話術(shù)里的排序
"status": true, // 是否啟用
"translate_text": "同學(xué),您好,我是滬江網(wǎng)校的工作人員,來電是因?yàn)榱私獾侥瓣P(guān)注過英文學(xué)習(xí)方面,想借用您幾分鐘時(shí)間做個(gè)簡(jiǎn)單的小回訪,希望在英文學(xué)習(xí)上給您帶來幫助",
"wav_second": 15 // 錄音長(zhǎng)度(秒)
}],
"tags": [ // 此輪對(duì)話被貼上的標(biāo)簽
{
"id": "4c318fbd-834f-4b41-bfbe-a631e5422812", // 標(biāo)簽id
"name": "承認(rèn)發(fā)布", // 標(biāo)簽名稱
"description": "承認(rèn)發(fā)布", // 標(biāo)簽描述
"color": "#2DF0D0", // 標(biāo)簽顏色
"user_id": "6cd3c09b-926d-4282-9470-946cd336e44a",
"status": true,
"created_at": "2020-01-16 11:07:13",
"updated_at": "2020-01-17 11:13:46",
"pivot": {
"taggable_id": "1336fc81-9f19-4d64-890f-9aaa5f70b52e",
"tag_id": "4c318fbd-834f-4b41-bfbe-a631e5422812",
"created_at": "2020-02-16 12:21:17",
"updated_at": "2020-02-16 12:21:17"
},
"tag_group": [ // 所屬母標(biāo)簽列表
{
"id": 1, // 母標(biāo)簽id
"user_id": "6cd3c09b-926d-4282-9470-946cd336e44a",
"name": "弱意向", // 母標(biāo)簽名
"created_at": "2019-12-17 21:14:57",
"updated_at": "2019-12-17 21:14:57",
"tag_scene_id": "ad2c92fe-f993-47d6-9e86-f73a5511dcae" // 業(yè)務(wù)場(chǎng)景id
},
]
}
] // 觸發(fā)的標(biāo)簽
}, {
"id": "e68f7a65-f98e-4c12-ab1c-a8bc2071b02f", // 通話記錄詳情的ID,一個(gè)通話記錄包含多個(gè)通話詳情
"record_id": "9c736f53-0c1b-4047-b30a-dd87d2968541", // 通話記錄的ID
"task_id": "840a4346-d0ac-4800-9c73-3d06275a9158",
"notify": "asrprogress_notify", // 此類型為過程性錄音,不需要展示
"callid": "281db55e-64e8-11e9-9bb2-3564eb72c846",
"error_code": 0,
"asrtype": "aliyun", // 使用的asr引擎
"callee": "18651683344", // 被叫號(hào)碼
"gender": 2,
"asr_elapse": 841,
"record_ms": 1690,
"volume_gain": 8.040982,
"question": "啊", // 接聽人說的話
"question_index": 1,
"speak_ms": 0,
"play_ms": 740,
"keyword": null, // 接聽人觸發(fā)的關(guān)鍵詞
"answer_id": null,
"answer_text": null,
"word_class": null,
"score": 0, // 這輪通話的得分
"sequence": 2,
"created_at": "2019-04-22 18:19:58",
"updated_at": "2019-04-22 18:19:58",
"bridge_status": null, // 是否是轉(zhuǎn)接后,1是轉(zhuǎn)接后,null為不是
"answer_content": null,
"contents": [],
"tags": []
}, {
"id": "8a6436b0-5b41-4dc8-bb4d-7e5451ecf5eb",
"record_id": "9c736f53-0c1b-4047-b30a-dd87d2968541",
"task_id": "840a4346-d0ac-4800-9c73-3d06275a9158",
"notify": "asrmessage_notify",
"callid": "281db55e-64e8-11e9-9bb2-3564eb72c846",
"error_code": 0,
"asrtype": null,
"callee": "18651683344",
"gender": null,
"asr_elapse": null,
"record_ms": null,
"volume_gain": null,
"question": "啊",
"question_index": 1,
"speak_ms": 875,
"play_ms": 740,
"keyword": null,
"answer_id": null,
"answer_text": null,
"word_class": null,
"score": 0,
"sequence": 3,
"created_at": "2019-04-22 18:19:58",
"updated_at": "2019-04-22 18:19:58",
"bridge_status": null,
"answer_content": null,
"contents": [],
"tags": []
}, {
"id": "8a0b22f8-a5d2-4fbf-9297-5c79da0dd82d",
"record_id": "9c736f53-0c1b-4047-b30a-dd87d2968541",
"task_id": "840a4346-d0ac-4800-9c73-3d06275a9158",
"notify": "asrprogress_notify",
"callid": "281db55e-64e8-11e9-9bb2-3564eb72c846",
"error_code": 0,
"asrtype": "aliyun",
"callee": "13530525008",
"gender": 2,
"asr_elapse": 909,
"record_ms": 2210,
"volume_gain": 6.721436,
"question": "不再見,再見。",
"question_index": 2,
"speak_ms": 0,
"play_ms": 3280,
"keyword": null,
"answer_id": null,
"answer_text": null,
"word_class": null,
"score": 0,
"sequence": 4,
"created_at": "2019-04-22 18:20:01",
"updated_at": "2019-04-22 18:20:01",
"bridge_status": null,
"answer_content": null,
"contents": [],
"tags": []
}, {
"id": "118d691e-5a80-42f2-8ad8-40e34bc9b321",
"record_id": "9c736f53-0c1b-4047-b30a-dd87d2968541",
"task_id": "840a4346-d0ac-4800-9c73-3d06275a9158",
"notify": "asrmessage_notify",
"callid": "281db55e-64e8-11e9-9bb2-3564eb72c846",
"error_code": 0,
"asrtype": null,
"callee": "18651683344",
"gender": null,
"asr_elapse": null,
"record_ms": null,
"volume_gain": null,
"question": "不再見,再見。",
"question_index": 2,
"speak_ms": 1395,
"play_ms": 3280,
"keyword": "再見",
"answer_id": "15d1230b-9820-4662-9aa2-e2003176efb0",
"answer_text": "普適結(jié)束語",
"word_class": "1",
"score": 0,
"sequence": 5,
"created_at": "2019-04-22 18:20:02",
"updated_at": "2019-04-22 18:20:02",
"bridge_status": null,
"answer_content": "感謝您的接聽,我就打擾您了,祝您生活愉快,再見",
"contents": [{
"id": "591c75c5-bba3-428a-940a-1828d68695bd",
"file_id": "6e1c0b72-407e-499f-9474-88aaa32f45ac",
"sort": 0,
"status": true,
"translate_text": "感謝您的接聽,我就打擾您了,祝您生活愉快,再見",
"wav_second": 3.577875
}],
"tags": []
}],
"is_intervene_bridge": false, // 是否被轉(zhuǎn)接
"is_intervene_hangup": false, // 是否被強(qiáng)制掛斷
"intervene_number": [{ // 可轉(zhuǎn)接號(hào)碼
"id": 2,
"name": "羅文龍",
"number": "18651683***"
}, {
"id": 5,
"name": "wjx",
"number": "18262625***"
}, {
"id": 6,
"name": "test",
"number": "18751553***"
}],
"is_crm_exists": true, // 是否在CRM中存在此號(hào)碼的數(shù)據(jù)
"info": {
"record": { // 整通通話詳情
"id": "9c736f53-0c1b-4047-b30a-dd87d2968541",
"task_id": "840a4346-d0ac-4800-9c73-3d06275a9158", // 所在任務(wù)
"group_id": 297, // 使用話術(shù)分組
"callid": "281db55e-64e8-11e9-9bb2-3564eb72c846",
"score": 0, // 總體得分
"callee": "18651683344", // 被叫號(hào)碼
"caller_number": "17361984317",
"duration": 17600,
"error_code": 0,
"gender": 2, // 性別0未知、1女、2男、3疑似女、4疑似男
"level_id": "e605e0b0-96b2-4af0-9b78-7cdd5fc6b783",
"calldate": "2019-04-22 18:19:47",
"bill": 10120, // 通話時(shí)長(zhǎng)ms
"hangupcause": "NORMAL_CLEARING",
"hangupdate": "2019-04-22 18:20:05",
"answerdate": "2019-04-22 18:19:55",
"recordfile": "/mnt/smartivr/recordings/2019-04-22/18651683344.297.18-19-55.281db55e-64e8-11e9-9bb2-3564eb72c846.wav",
"bridge_callid": null,
"bridge_number": null,
"bridge_calldate": null,
"bridge_answerdate": null,
"hangup_disposition": 1, //誰先掛斷電話,機(jī)器人1,客戶2
"created_at": "2019-04-22 18:19:55",
"updated_at": "2019-04-22 18:20:07",
"rounds": 2, // 進(jìn)行了幾輪對(duì)話
"level_name": "D級(jí)(無意向)", // 等級(jí)名稱
"bredge_number": null,
"gender_str": "男", // 性別
"hangup_disposition_str": "AI", //誰先掛斷電話
"level": { // 對(duì)應(yīng)等級(jí)
"id": "e605e0b0-96b2-4af0-9b78-7cdd5fc6b783",
"name": "D級(jí)",
"alias": "無意向",
"color": "#000"
},
"crm_number": {
"id": "61d03681-04a2-4a81-97e9-f37825dfbfe9",
"user_id": "4d99d91c-f5d9-49da-88da-758977cc58a9",
"number": "18651683344",
"deleted_at": null,
"created_at": "2019-04-10 19:24:05",
"updated_at": "2019-04-10 19:24:05"
}
},
"task": { // 所在任務(wù)詳情
"uuid": "840a4346-d0ac-4800-9c73-3d06275a9158",
"name": "教育測(cè)試2",
"create_datetime": "2018-12-20 16:43:21",
"alter_datetime": "2019-05-15 19:25:06",
"start": 0,
"maximumcall": 1,
"call_per_second": 10,
"recycle_limit": 1,
"random_assignment_number": 0,
"disable_dial_timegroup": null,
"destination_extension": 297,
"destination_dialplan": "XML",
"destination_context": "default",
"scheduling_policy_ratio": null,
"scheduling_queue": null,
"dial_format": "",
"domain": null,
"remark": null,
"sort": 2,
"originate_variables": "{execute_on_media=start_da2}",
"_originate_timeout": 60,
"_origination_caller_id_number": "300708",
"user_id": "4d99d91c-f5d9-49da-88da-758977cc58a9",
"caller_line_id": null,
"customer_service_id": null,
"call_notify_url": "http://127.0.0.1:81/api/hangup_notify",
"call_notify_type": 2,
"start_str": "暫停",
"group_str": "電銷系統(tǒng)測(cè)試",
"progress_bar": { // 任務(wù)進(jìn)度 [棄用]
"total": 3,
"progress": 3,
"percent": 100
},
"group": {
"id": 297,
"name": "電銷系統(tǒng)測(cè)試",
"user_id": "4d99d91c-f5d9-49da-88da-758977cc58a9",
"debug": false,
"deleted_at": null,
"created_at": "2018-12-15 18:46:41",
"updated_at": "2019-04-08 17:09:43",
"link_word_group_id": "1",
"tag_scene_id": "a13ad9cb-d9be-4498-bfe3-cd32c677f0dd",
"default": false
}
}
},
"mobile_info": { // 電話歸屬地等信息
"mobile_type": "聯(lián)通",
"province": "江蘇",
"city": "南京"
},
"utterances": [{ // 使用話術(shù)組所有主流程
"id": "01f0a962-bee2-4456-a0f0-93725642f746",
"name": "流程2",
"description": "客戶身份確認(rèn)",
"group_id": 297,
"user_id": "4d99d91c-f5d9-49da-88da-758977cc58a9",
"context_id": null,
"priority": 2,
"action": null,
"word_class": 16,
"wait": 4000,
"retry": 0,
"max_retry": 0,
"score": 0,
"play_ms": 3000,
"enquire": true,
"customer_service_id": null,
"identify_type": 4,
"deleted_at": null,
"created_at": "2018-12-15 18:50:04",
"updated_at": "2018-12-15 18:50:04",
"background_file_id": null,
"block_asr": 0,
"word_class_str": "主流程",
"action_str": ""
}, {
"id": "146e883b-24b0-4125-bb8c-99d0413f612b",
"name": "流程5",
"description": "上課準(zhǔn)備",
"group_id": 297,
"user_id": "4d99d91c-f5d9-49da-88da-758977cc58a9",
"context_id": null,
"priority": 10,
"action": null,
"word_class": 16,
"wait": 4000,
"retry": 0,
"max_retry": 0,
"score": 50,
"play_ms": 3000,
"enquire": true,
"customer_service_id": null,
"identify_type": 4,
"deleted_at": null,
"created_at": "2018-12-15 18:52:11",
"updated_at": "2018-12-15 18:52:11",
"background_file_id": null,
"block_asr": 0,
"word_class_str": "主流程",
"action_str": ""
}, {
"id": "4f9455ec-3e8b-40e2-a6bc-2fb01d2e2e74",
"name": "流程4",
"description": "活動(dòng)邀約",
"group_id": 297,
"user_id": "4d99d91c-f5d9-49da-88da-758977cc58a9",
"context_id": null,
"priority": 4,
"action": null,
"word_class": 16,
"wait": 4000,
"retry": 0,
"max_retry": 0,
"score": 50,
"play_ms": 3000,
"enquire": true,
"customer_service_id": null,
"identify_type": 4,
"deleted_at": null,
"created_at": "2018-12-15 18:51:37",
"updated_at": "2018-12-15 18:51:37",
"background_file_id": null,
"block_asr": 0,
"word_class_str": "主流程",
"action_str": ""
}, {
"id": "67f21076-0c67-43d9-b366-e509fd4f076e",
"name": "流程6",
"description": "結(jié)束通知",
"group_id": 297,
"user_id": "4d99d91c-f5d9-49da-88da-758977cc58a9",
"context_id": null,
"priority": 10,
"action": null,
"word_class": 16,
"wait": 4000,
"retry": 0,
"max_retry": 0,
"score": 100,
"play_ms": 3000,
"enquire": true,
"customer_service_id": null,
"identify_type": 4,
"deleted_at": null,
"created_at": "2018-12-15 18:52:58",
"updated_at": "2018-12-15 18:52:58",
"background_file_id": null,
"block_asr": 0,
"word_class_str": "主流程",
"action_str": ""
}, {
"id": "a4c1aed5-f28d-4fe8-bdb2-70c29acdac3e",
"name": "流程3",
"description": "客戶需求確認(rèn)",
"group_id": 297,
"user_id": "4d99d91c-f5d9-49da-88da-758977cc58a9",
"context_id": null,
"priority": 3,
"action": null,
"word_class": 16,
"wait": 4000,
"retry": 0,
"max_retry": 0,
"score": 0,
"play_ms": 3000,
"enquire": true,
"customer_service_id": null,
"identify_type": 4,
"deleted_at": null,
"created_at": "2018-12-15 18:50:56",
"updated_at": "2018-12-15 18:50:56",
"background_file_id": null,
"block_asr": 0,
"word_class_str": "主流程",
"action_str": ""
}, {
"id": "e0b4bfc6-e87d-4e1f-af24-d44c10a5bd0a",
"name": "流程1",
"description": "開場(chǎng)白",
"group_id": 297,
"user_id": "4d99d91c-f5d9-49da-88da-758977cc58a9",
"context_id": null,
"priority": 1,
"action": null,
"word_class": 16,
"wait": 4000,
"retry": 0,
"max_retry": 0,
"score": 0,
"play_ms": -1,
"enquire": true,
"customer_service_id": null,
"identify_type": 4,
"deleted_at": null,
"created_at": "2018-12-15 18:49:32",
"updated_at": "2018-12-15 18:49:32",
"background_file_id": null,
"block_asr": 0,
"word_class_str": "主流程",
"action_str": ""
}]
}
部分字段解釋
info.record整端通話的相關(guān)數(shù)據(jù)
info.task通話所在任務(wù)的相關(guān)數(shù)據(jù)
intervene_number、is_crm_exists、is_intervene_bridge、is_intervene_hangup用不到
mobile_info手機(jī)所在區(qū)域、運(yùn)營商
records每句通話的記錄
utterances話術(shù)所有主流程