查询工单概览
描述
查询当天工单总览统计。
接口方法
GET
接口URI
https://域名/AICC__Case/1.0.0/openapi/statistics/case/current,例如域名是service.besclouds.com。
请求说明
| 序号 | 名称 | 参数类型 | 是否必选 | 说明 |
|---|---|---|---|---|
| 1 | Content-Type | string | True | 消息正文的类型为JSON |
| 2 | access-token | string | True | 用户访问租间token,参见调用鉴权接口 |
响应说明
- 响应状态码: 200
| 序号 | 名称 | 参数类型 | 是否必选 | 说明 |
|---|---|---|---|---|
| 1 | newCases | Number | True | 新增工单数 |
| 2 | finishedCases | Number | True | 完成工单数 |
| 3 | unfinishedCases | Number | True | 待处理工单数 |
| 4 | averageDuration | Number | True | 平均处理时长,按照天为单位 |
| 5 | overCases | Number | True | 超期工单数 |
消息样例
场景描述:查询工单概览
URL:https://域名/AICC__Case/1.0.0/openapi/statistics/case/current
- 请求头:
{ "Content-Type": "application/json", "access-token": "0000000000************7bm63KsRmEztTvyA=" }
- 响应头:
{ "connection": "keep-alive", "Content-Length": "16", "Content-Type": "application/json%3Bcharset=UTF-8"}
- 响应参数:
{ "resCode": "0", "resMsg": "成功", "result": { "averageDuration": 0, "finishedCases": 0, "newCases": 0, "overCases": 0, "unfinishedCases": 0 }}