云服务器内容精选

  • 样例报文 请求头: Content-Type: application/json;charset=UTF-8 Authorization: ****************** 请求参数: { "ccId":1, "vdn":170, "skillIds":[1,2] } 响应参数: { "result": "0", "resultCode": "0100000", "resultDatas": [ { "id": 1, "startTime": 1607390702000, "allCallCount": 0, "cnnedCallCount": 0, "abanCallCount": 0, "callEndCount": 0, "talkTimeOnIvr": 0, "cnnedIn20sCallCount": 0, "clearUpCallCount": 0, "clearUpTime": 0 }, { "id": 2, "startTime": 1607390702000, "allCallCount": 0, "cnnedCallCount": 0, "abanCallCount": 0, "callEndCount": 0, "talkTimeOnIvr": 0, "cnnedIn20sCallCount": 0, "clearUpCallCount": 0, "clearUpTime": 0 } ], "resultDesc": [ { "id": 1, "startTime": 1607390702000, "allCallCount": 0, "cnnedCallCount": 0, "abanCallCount": 0, "callEndCount": 0, "talkTimeOnIvr": 0, "cnnedIn20sCallCount": 0, "clearUpCallCount": 0, "clearUpTime": 0 }, { "id": 2, "startTime": 1607390702000, "allCallCount": 0, "cnnedCallCount": 0, "abanCallCount": 0, "callEndCount": 0, "talkTimeOnIvr": 0, "cnnedIn20sCallCount": 0, "clearUpCallCount": 0, "clearUpTime": 0 } ] }
  • 请求说明 表1 请求头参数 序号 名称 参数类型 是否必选 说明 1 Content-Type String True 固定填 application/json; charset=UTF-8。 2 Authorization String True 生成方式参见C2 监控/系统外呼/话单/知识库类接口鉴权方式。 表2 请求消息体参数说明 序号 名称 参数类型 是否必选 说明 1 ccId int True 呼叫中心编号。 取值范围:1~65535。 2 vdn int True 虚拟呼叫中心编号。 取值范围:1~5000。 3 skillIds array True 技能队列ID信息的对象数组。 数组长度不大于1000。 取值范围:1~2000。
  • 响应消息 表3 响应消息体参数说明 序号 名称 参数类型 说明 1 result String 查询结果。取值如下: 0:成功 其他:失败 失败的原因说明请参见错误码参考。 说明: 当前字段为兼容8.13及其之前版本接口响应参数使用。 2 resultCode string 查询结果。取值如下: "0100000":成功 其他:失败 失败的原因说明请参见错误码参考。 3 resultDatas array 查询成功后,返回结果信息的对象数组。 该数组中对象的参数说明请参见表4。 说明: 当前字段为兼容8.13及其之前版本接口响应参数使用。 4 resultDesc array 查询成功后,返回结果信息的对象数组。 该数组中对象的参数说明请参见表4。 表4 resultDesc/resultDatas对象参数说明 序号 名称 参数类型 说明 2.1 id int 技能队列编号 2.2 startTime long 统计的开始时刻(毫秒级时间戳) 2.3 allCallCount long 当前5分钟呼入呼叫总和 2.4 cnnedCallCount long 当前5分钟接通呼叫总和 2.5 abanCallCount long 当前5分钟呼损呼叫总和 2.6 callEndCount long 当前5分钟通话完毕呼叫数 2.7 talkTimeOnIvr long ivr上通话时长(挂起转人工时,挂起时间计入通话时间)单位:秒 2.8 cnnedIn20sCallCount long 当前5分钟内在20S内接通呼叫总和 2.9 clearUpCallCount long 当前5分钟内整理完毕的呼叫总数 2.10 clearUpTime long 当前5分钟内整理的总时长 (单位:秒)
  • 请求说明 表1 请求头参数 序号 名称 参数类型 是否必选 说明 1 Content-Type String True 固定填 application/json; charset=UTF-8。 2 Authorization String True 生成方式参见C2 监控/系统外呼/话单/知识库类接口鉴权方式。 表2 请求消息体参数说明 序号 名称 参数类型 是否必选 说明 1 ccId int True 呼叫中心编号。 取值范围:1~65535。 2 vdn int True 虚拟呼叫中心编号。 取值范围:1~5000。 3 skillId int True 技能队列ID。 取值范围:1~2000。
  • 响应消息 表3 响应消息体参数说明 序号 名称 参数类型 说明 1 result String 查询结果。取值如下: 0:成功 其他:失败 失败的原因说明请参见错误码参考。 说明: 当前字段为兼容8.13及其之前版本接口响应参数使用。 2 resultCode string 查询结果。取值如下: "0100000":成功 其他:失败 失败的原因说明请参见错误码参考。 3 resultDatas array 查询成功后,返回结果信息的对象数组。 该数组中对象的参数说明请参见表4。 说明: 当前字段为兼容8.13及其之前版本接口响应参数使用。 4 resultDesc array 查询成功后,返回结果信息的对象数组。 该数组中对象的参数说明请参见表4。 表4 resultDesc对/resultDatas象参数说明 序号 名称 参数类型 说明 2.1 callId string 呼叫ID 2.2 customerLevel int 客户级别 序号从1到254,编号越大,表明客户的地位越高,越重要 2.3 requestType int 呼叫特征。表1
  • 样例报文 请求头: Content-Type: application/json;charset=UTF-8 Authorization: ****************** 请求参数: { "ccId":1, "vdn":170, "skillId":2 } 响应参数: { "result": "0", "resultCode": "0100000", "resultDatas": [ { "callId": "1604285072000-840", "requestType": 0, "customerLevel": 0 } ], "resultDesc": [ { "callId": "1604285072000-840", "requestType": 0, "customerLevel": 0 } ] }
  • 样例报文 请求头: Content-Type: application/json;charset=UTF-8Authorization: ****************** 请求参数: { "ccId":1, "vdn":170, "skillIds":[1,2], "isSkillAllMatch":"true"} 响应参数: { "result": "0", "resultCode": "0100000", "resultDatas": { "workSubStateBegin": 0, "lateAdjust": 0, "usable": 0, "rest": 0, "studying": 0, "setBusy": 1, "occupy": 0, "idle": 0, "preoccupy": 0, "answering": 0, "talking": 0, "loginEd": 1, "callOut": 1 }, "resultDesc": { "workSubStateBegin": 0, "lateAdjust": 0, "usable": 0, "rest": 0, "studying": 0, "setBusy": 1, "occupy": 0, "idle": 0, "preoccupy": 0, "answering": 0, "talking": 0, "loginEd": 1, "callOut": 1 }}
  • 请求说明 表1 请求头参数 序号 名称 参数类型 是否必选 说明 1 Content-Type String True 固定填 application/json; charset=UTF-8。 2 Authorization String True 生成方式参见C2 监控/系统外呼/话单/知识库类接口鉴权方式。 表2 请求消息体参数说明 序号 名称 参数类型 是否必选 说明 1 ccId int True 呼叫中心编号。 取值范围:1~65535 2 vdn int True 虚拟呼叫中心编号。 取值范围:1~5000 3 skillIds array True 技能队列ID信息的对象数组。数组长度不大于1000。 其中技能队列ID取值范围:1~2000。 4 isSkillAllMatch string False 座席技能队列是否完全匹配。 取值类型为布尔型,取值如下,默认false。 true:是。表示座席签入的技能队列完全匹配所查询的技能队列时才统计。 false:否。表示座席签入的技能中,只要包含有要查询的技能队列之一就统计。
  • 响应消息 表3 响应消息体参数说明 序号 名称 参数类型 说明 1 result String 查询结果。取值如下: 0:成功 其他:失败 失败的原因说明请参见错误码参考。 说明: 当前字段为兼容8.13及其之前版本接口响应参数使用。 2 resultCode string 查询结果。取值如下: "0100000":成功 其他:失败 失败的原因说明请参见错误码参考。 3 resultDatas object 查询成功后,返回结果信息的对象。 该数组中对象的参数说明请参见表4。 说明: 当前字段为兼容8.13及其之前版本接口响应参数使用。 4 resultDesc object 查询成功后,返回结果信息的对象。 该数组中对象的参数说明请参见表4。 表4 resultDesc/resultDatas对象参数说明 序号 名称 参数类型 说明 2.1 workSubStateBegin int 整理座席数 2.2 lateAdjust int 事后整理座席数 2.3 usable int 可用座席数 2.4 rest int 休息座席数 2.5 studying int 学习态座席数 2.6 setBusy int 示忙座席数 2.7 occupy int 占用态座席数 2.8 idle int 空闲座席数 2.9 preoccupy int 预占用态座席数 2.10 answering int 应答座席数 2.11 talking int 通话座席数 2.12 loginEd int 签入座席数 2.13 callOut int 呼出座席数