查询UAP性能指标统计接口
前置条件
该接口仅支持全局AK/SK鉴权调用。
注意:本接口仅支持独立部署环境。
场景描述
查询UAP性能统计指标
接口方法
设置成“POST”。该接口仅支持POST方法,不支持PUT、GET和DELTE等方法。
请求URL
https://ip:port/rest/cmsapp/v1/openapi/uap/perfindex
其中,公有云环境请联系管理员获取,ip为CC-CMS服务器地址,port为CC-CMS服务器的HTTPS端口号。
非公有云环境如果配置了NSLB服务,ip请填写NSLB的服务器地址,port为CC-CMS服务在NSLB映射的HTTPS端口号。
请求说明
序号 | 名称 | 参数类型 | 是否必选 | 说明 |
|---|---|---|---|---|
1 | Content-Type | String | True | 固定填 application/json; charset=UTF-8。 |
2 | Authorization | String | True | 生成方式参见C2 监控/系统外呼/话单/知识库类接口鉴权方式。 |
参数名 | 数据类型 | 是否必选 | 说明 |
|---|---|---|---|
ccId | int | False | 呼叫中心编号
|
uapIP | String | False | UAP的IP |
ofcNo | int | False | 入局编号数组 |
beginDate | String | True | 查询起始时间,零时区时间,开始时间和结束时间间隔不超过31天(取整) |
endDate | String | True | 查询结束时间,零时区时间 |
limit | int | False | 选填,默认为100 |
offset | int | False | 选填,默认为0 |
响应消息
参数名 | 数据类型 | 说明 |
|---|---|---|
resultCode | string | 查询结果。取值如下:
|
resultDesc | List | 查询成功后,返回结果信息的对象列表。 该数组中对象的参数说明请参见下表。 |
参数名 | 数据类型 | 说明 |
|---|---|---|
beginTime | String | 统计开始时间,毫秒级时间戳(五分钟统计区间开始时间) |
ccId | int | 呼叫中心编号 |
uapIp | String | UAP的IP |
ofcNo | int | 入局编号数组 |
systemInBound | int | 系统呼入量 |
systemInSucc | int | 系统接通量 |
systemCallRate | int | 系统接通率 |
样例报文
- 请求头:
Content-Type: application/json;charset=UTF-8 Authorization: ******************
- 请求参数:
{ "ccId":1, "uapIP":"1.1.1.1", "ofcNo":[0, 1], "beginDate":"2021-09-09 00:00:00", "endDate":"2021-09-11 23:00:00", "limit":"100", "offset":"0" }
- 响应参数:
{ "resultCode": 0, "resultDesc": { "data": [ { "beginTime": "1631594100000", "ccId": 1, "uapIp": "1.1.1.1", "ofcNo": 1, "systemInBound": 1, "systemInSucc": 1, "systemCallRate": 1 } ], "count": 1 } }

