From 85fb14c7e45dfa8b53bd00c498af1f4b08d68e15 Mon Sep 17 00:00:00 2001 From: sun sai Date: Tue, 29 Jan 2019 11:27:08 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=B4=E6=8A=A4=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/includes/callRecord.md | 14 +++++++++++- source/includes/obtainTask.md | 40 ++++++++++++++++++++++++++++++++++- source/includes/task.md | 10 +++++++-- 3 files changed, 60 insertions(+), 4 deletions(-) diff --git a/source/includes/callRecord.md b/source/includes/callRecord.md index 8ec97ed8d71..05ed6488ba2 100644 --- a/source/includes/callRecord.md +++ b/source/includes/callRecord.md @@ -45,7 +45,10 @@ "phoneNumberId": 0, "resultStatus": "ANSWERED", "intentLevel": "A", + "intentLevelName": "很好", "realIntentLevel": null, + "realIntentLevelName":"很好", + "intentLevelTagId": 0, "customerConcern": [ "价格","位置" ], @@ -118,7 +121,10 @@ phoneNumberId| Long |电话线路id| resultStatus| String | 通话结果 (ANSWERED, "已接听"),(NO_ANSWER, "未接"),(BUSY, "占线"),(POWER_OFF, "关机"),(OUT_OF_SERVICE, "被叫停机"),(REFUSED, "拒接"),(VACANT_NUMBER, "空号"),(CAN_NOT_CONNECT, "无法接通"), (FROM_PHONE_ERROR, "主叫号码不可用"),(SYSTEM_ERROR, "外呼失败")| intentLevel| String | 意向等级, (A, "A级(较强)"),(B, "B级(一般)"),(C, "C级(无法判断)"),(D, "D级(很少)"),(E, "E级别(需要再次跟进)"),(F, "F级别(无需再次跟进)") | + intentLevelName | String | 意向标签名称 | realIntentLevel| String | 真实意向等级 | + realIntentLevelName| String | 真实意向标签名称 | + intentLevelTagId | Long | 意向分类标签id | customerConcern| List | 客户关注点 | fullAudioUrl| String | 完整音频地址 | customerAudioUrl| String | 客户音频地址 | @@ -168,7 +174,10 @@ }, "resultStatus": "VACANT_NUMBER", "intentLevel": "F", + "intentLevelName":"一般", "realIntentLevel": null, + "realIntentLevelName":"一般", + "intentLevelTagId":0, "customerConcern": ["价格", "位置"], "fullAudioUrl": "https://ai-call-platform-daily.oss-cn-hangzhou.aliyuncs.com/DialogueRecording/TenantId1/CallJobId17/YKUYXGLL_TaskId_1305098/early_media.wav", "analysisBasis": "空号", @@ -222,7 +231,10 @@ chatRound| Integer | 通话轮次 | resultStatus| String | 通话结果 (ANSWERED, "已接听"),(NO_ANSWER, "未接"),(BUSY, "占线"),(POWER_OFF, "关机"),(OUT_OF_SERVICE, "被叫停机"),(REFUSED, "拒接"),(VACANT_NUMBER, "空号"),(CAN_NOT_CONNECT, "无法接通"), (FROM_PHONE_ERROR, "主叫号码不可用"),(SYSTEM_ERROR, "外呼失败")| intentLevel| String | 意向等级, (A, "A级(较强)"),(B, "B级(一般)"),(C, "C级(无法判断)"),(D, "D级(很少)"),(E, "E级别(需要再次跟进)"),(F, "F级别(无需再次跟进)") | - realIntentLevel| String | 真是意向等级, | + intentLevelName| String | 意向标签名称 | + realIntentLevel| String | 真实意向等级, | + realIntentLevelName | String | 真实意向标签名称 | + intentLevelTagId | Long | 意向分类标签id | customerConcern| List | 客户关注点, | analysisBasis| String | 说明 | attributes| List | 参数 | diff --git a/source/includes/obtainTask.md b/source/includes/obtainTask.md index d8b4dec400f..f79acba01c8 100644 --- a/source/includes/obtainTask.md +++ b/source/includes/obtainTask.md @@ -99,7 +99,11 @@ GET "inactiveTimeList": [{"startTime":"12:00", "endTime":"13:00"}], "description": null, "wechatAlertLevel": [], + "wechatAlertLevelCode":[], "smsAlertLevel": [], + "smsAlertLevelCode":[], + "wechatConditionAlertLevel":[], + "wechatConditionAlertLevelCode":[], "alertUsers": [], "wechatSendMethod": "SENDTOALL", "status": "TERMINATE", @@ -160,7 +164,11 @@ GET inactiveTimeList| List| 不可拨打时间段列表| description| String | 任务注释 | wechatAlertLevel| String | 微信提示等级 | + wechatAlertLevelCode | Integer | 微信提示等级code | smsAlertLevel| String | 短信提示等级 | + smsAlertLevelCode | Integer | 短信提示登记code | + wechatConditionAlertLevel | String | 微信条件提示等级| + wechatConditionAlertLevelCode | Integer | 微信条件提示等级Code| alertUsers| String | 提示人员 | earlyWarningAlertUsers| String | 预警提示人员 | createTime| String | 任务创建时间 | @@ -264,7 +272,32 @@ GET }, { "date": "2018-10-09", "val": 26786 - }] + }], + "intentLevelTagDetailList":[ + { + "code":0, + "intentLevelTagDetailId":825, + "intentLevelTagId":121, + "name":"较差" + }, + { + "code":1, + "intentLevelTagDetailId":826, + "intentLevelTagId":121, + "name":"一般" + }, + { + "code":2, + "intentLevelTagDetailId":827, + "intentLevelTagId":121, + "name":"好" + }, + { + "code":3, + "intentLevelTagDetailId":828, + "intentLevelTagId":121, + "name":"很好" + }] } }, "requestId": "VJDMUZIC", @@ -313,6 +346,11 @@ GET averageDurationList| List | 平均通话时长 | requestId| String | 请求Id | resultMsg| String | 响应说明 | + intentLevelTagDetailList | List | 意向分类详情列表| + code | Integer| 意向分类详情编码| + intentLevelTagDetailId |Long |意向分类详情id | + intentLevelTagId | Long| 意向分类id | + name | String| 意向分类详情名称 | diff --git a/source/includes/task.md b/source/includes/task.md index ce5592715ea..8025c58ee4c 100644 --- a/source/includes/task.md +++ b/source/includes/task.md @@ -4,7 +4,7 @@ ###功能说明: -通过此接口可以创建新的任务 +通过此接口可以创建新的任务 ###更新说明: @@ -35,7 +35,10 @@ "startTime": "2017-11-21 04:32:00", "tenantId": 1, "wechatAlertLevel": [], - "wechatSendMethod": "SENDTOALL" + "wechatSendMethod": "SENDTOALL", + "wechatAlertLevelCode": [], + "smsAlertLevelCode": [], + "wechatConditionAlertLevelCode": [] } } ``` @@ -83,6 +86,9 @@ POST wechatAlertLevel| String| 否 | 微信推送提醒意向等级| ["A","B"]| wechatSendMethod| String| 否 | 微信推送方式(SENDTOALL,全推送),(SENDTOONE,单推送),(SENDTONONE 不推送)| SENDTOALL| description| String| 否 | 备注| 测试| + wechatAlertLevelCode | Integer | 否 | 微信推送提醒意向等级编码 | [0, 1] | + smsAlertLevelCode | Integer | 否| 短信推送提醒意向等级编码| [0, 1]| + wechatConditionAlertLevelCode | Integer | 否| 微信条件推送提醒意向等级编码|[0, 1] |