
# 查询工单概览
#### 场景描述
查询当天工单总览统计。
#### 接口方法
GET
#### 接口URL
https://域名/AICC__Case/1.0.0/openapi/statistics/case/current，例如域名是service.besclouds.com。
#### 请求说明
表1请求头参数 
| 序号 | 名称           | 参数类型   | 是否必选 | 说明                                                                                                                                                                                            |
|:---|:---|:---|:---|:---|
| 1  | Content-Type | string | True | 消息正文的类型为JSON                                                                                                                                                                                  |
| 2  | access-token | string | True | 用户访问租间token，参见[调用鉴权接口](https://support.huaweicloud.com/api-ccfs-cec/cec_07_0260.html#ZH-CN_TOPIC_0000002481273558__zh-cn_topic_0000002509989463_zh-cn_topic_0000001629993164_li1537163311381) |
   
#### 响应说明
- **响应状态码:** **200**
表2响应体参数 
| 序号 | 名称              | 参数类型   | 是否必选 | 说明            |
|:---|:---|:---|:---|:---|
| 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   }}
  ```
  
 
