查询呼叫统计报表信息
接口方法
设置成“POST”。
URL
https://IP:PORT/oifde/rest/api/queryCallStatisticsReport
请求说明
| 参数名称 | 数据类型 | 参数位置 | 必选/可选 | 描述 |
|---|---|---|---|---|
| type | String | body | True | 查询类型
|
| tenantId | String | body | True | 租户ID |
| accessCode | String | body | True | 接入标识(机器人接入码) |
| timestamp | long | body | True | 查询日期的毫秒时间戳 |
| authToken | String | body | True | 认证token。 请参见C3 智能助手平台接口鉴权方式。 |
响应说明
| 参数名称 | 数据类型 | 参数位置 | 必选/可选 | 描述 |
|---|---|---|---|---|
| - | QueryCallStatisticsRes[] | body | True | 呼叫统计报表信息 |
| 名称 | 是否必选 | 参数类型 | 说明 |
|---|---|---|---|
| recordTime | True | long | 记录日期的毫秒时间戳 |
| tenantId | True | String | 租户ID |
| accessCode | True | String | 接入标识(机器人接入码) |
| callCount | True | long | 接入量 |
| exitNoConsultCount | True | long | 直接退出量,用户和IVR只交互一次的量 |
| callStaffNoConsultCount | True | long | 直接转人工量,用户和IVR交互大于1次且小于等于3次,并且不在IVR挂机的量 |
| callStaffConsultCount | True | long | 咨询后转人工量,用户和IVR交互大于3次,并且不在IVR挂机的量 |
| exitConsultingCount | True | long | 仅咨询机器人量,用户和IVR交互大于1次,并且在IVR挂机的量 |
| interactCount | True | long | 对话轮次,总的用户和IVR交互次数 |
| autonomyRate | True | String | 净自助解决率
|
| averageInteractPerCall | True | String | 平均对话轮次,平均每通对话,用户和IVR的交互次数 |
| dbRecordTime | True | Date | 数据库记录日期,未设置为null |
| type | True | String | 查询类型
|
| interfaceRequestCount | True | long | 接口调用总数 |
| interfaceSuccessCount | True | long | 接口调用成功数 |
| interfaceSuccessRate | True | String | 接口调用成功率
|
报文样例
- 请求样例
{ "tenantId":"202104237142", "accessCode":"943370855474270208", "timestamp":1628784000000, "type":"hour", "authToken":"wEd*******************Q6VwYMj" } - 响应样例
[ { "recordTime": 1628820000000, "tenantId": "202104237142", "accessCode": "943370855474270208", "callCount": 1, "exitNoConsultCount": 0, "callStaffNoConsultCount": 0, "callStaffConsultCount": 0, "exitConsultingCount": 1, "interactCount": 2, "autonomyRate": "1.0000", "averageInteractPerCall": "2.00", "dbRecordTime": 1628820000000, "type": "hour", "interfaceRequestCount": 0, "interfaceSuccessCount": 0, "interfaceSuccessRate": "-1.0000" } ]