ListDataReportForServiceGroup - 查询服务组事件统计报表

分页查询服务组统计数据 。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求语法

POST /statistics/listDataReportForServiceGroup HTTP/1.1

请求参数

名称类型必填描述示例值
bodyobject

A short description of struct

startTimestring

开始时间

2021-09-09
endTimestring

结束时间

2021-09-30
serviceGroupNamestring

服务组名称

A服务组

{ "pageNumber": 1, "pageSize": 10, "startTime": "2021-11-02", "endTime": "2021-11-09", "clientToken": "ec1eba2b-cbd9-4daa-aa6e-d127a27989bc" }

返回参数

名称类型描述示例值
object

Schema of Response

requestIdstring

Id of the request

xxxxxxx
dataarray<object>

统计数据

统计数据object

统计数据

serviceGroupNamestring

服务组名字

服务组
incidentCountlong

事件数量

1
escalationIncidentCountlong

升级事件数量

100
unAcknowledgedEscalationIncidentCountlong

未响应升级事件数量

200
unFinishEscalationIncidentCountlong

未完成升级事件数量

200
serviceGroupIdlong

服务组 ID

100
meanTimeToAcknowledgelong

MRRA

3分19秒
meanTimeToRepairlong

MTTR

3分19秒
finishProportionstring

完结率

19%
finishIncidentCountlong

事件完结数

111
pageSIzelong

页大小

10
pageNumberlong

当前页

1
totalCountlong

总数

100

{ "requestId": "gdgsdgsggsdg", "data": [ { "meanTimeToAcknowledge": "66 天 37 分钟 50 秒", "meanTimeToRepair": "20 小时 20 分钟 48 秒", "finishProportion": "17.65%", "serviceGroupName": "吃饭群(钉钉群)", "incidentCount": 34, "finishIncidentCount": 6, "escalationIncidentCount": 21, "unAcknowledgedEscalationIncidentCount": 20, "unFinishEscalationIncidentCount": 21, "serviceGroupId": 32 }, { "meanTimeToAcknowledge": "66 天 37 分钟 50 秒", "meanTimeToRepair": "20 小时 20 分钟 48 秒", "finishProportion": "25.00%", "serviceGroupName": "国庆企业", "incidentCount": 24, "finishIncidentCount": 6, "escalationIncidentCount": 11, "unAcknowledgedEscalationIncidentCount": 10, "unFinishEscalationIncidentCount": 11, "serviceGroupId": 180020080 }, { "meanTimeToAcknowledge": "66 天 37 分钟 50 秒", "meanTimeToRepair": "20 小时 20 分钟 48 秒", "finishProportion": "25.00%", "serviceGroupName": "【日常】胡江平的测试服务组", "incidentCount": 24, "finishIncidentCount": 6, "escalationIncidentCount": 11, "unAcknowledgedEscalationIncidentCount": 10, "unFinishEscalationIncidentCount": 11, "serviceGroupId": 170020030 }, { "meanTimeToAcknowledge": "66 天 37 分钟 50 秒", "meanTimeToRepair": "20 小时 20 分钟 48 秒", "finishProportion": "25.00%", "serviceGroupName": "Slack", "incidentCount": 24, "finishIncidentCount": 6, "escalationIncidentCount": 11, "unAcknowledgedEscalationIncidentCount": 10, "unFinishEscalationIncidentCount": 11, "serviceGroupId": 110030020 }, { "meanTimeToAcknowledge": "66 天 37 分钟 50 秒", "meanTimeToRepair": "11 天 33 分钟 35 秒", "finishProportion": "9.09%", "serviceGroupName": "飞书群", "incidentCount": 11, "finishIncidentCount": 1, "escalationIncidentCount": 10, "unAcknowledgedEscalationIncidentCount": 10, "unFinishEscalationIncidentCount": 10, "serviceGroupId": 130000010 }, { "meanTimeToAcknowledge": "66 天 37 分钟 50 秒", "meanTimeToRepair": "11 天 33 分钟 35 秒", "finishProportion": "9.09%", "serviceGroupName": "精细排班", "incidentCount": 11, "finishIncidentCount": 1, "escalationIncidentCount": 10, "unAcknowledgedEscalationIncidentCount": 10, "unFinishEscalationIncidentCount": 10, "serviceGroupId": 110020010 }, { "meanTimeToAcknowledge": "0", "meanTimeToRepair": "0", "finishProportion": "0.00%", "serviceGroupName": "新增服务组 0927", "incidentCount": 8, "finishIncidentCount": 0, "escalationIncidentCount": 8, "unAcknowledgedEscalationIncidentCount": 8, "unFinishEscalationIncidentCount": 8, "serviceGroupId": 160020050 }, { "meanTimeToAcknowledge": "0", "meanTimeToRepair": "0", "finishProportion": "0.00%", "serviceGroupName": "ces", "incidentCount": 7, "finishIncidentCount": 0, "escalationIncidentCount": 7, "unAcknowledgedEscalationIncidentCount": 7, "unFinishEscalationIncidentCount": 7, "serviceGroupId": 170020040 }, { "meanTimeToAcknowledge": "0", "meanTimeToRepair": "0", "finishProportion": "0.00%", "serviceGroupName": "卡片服务组测试【勿动】", "incidentCount": 7, "finishIncidentCount": 0, "escalationIncidentCount": 7, "unAcknowledgedEscalationIncidentCount": 7, "unFinishEscalationIncidentCount": 7, "serviceGroupId": 160020030 }, { "meanTimeToAcknowledge": "0", "meanTimeToRepair": "0", "finishProportion": "0.00%", "serviceGroupName": "这是一个服务组 1018", "incidentCount": 7, "finishIncidentCount": 0, "escalationIncidentCount": 7, "unAcknowledgedEscalationIncidentCount": 7, "unFinishEscalationIncidentCount": 7, "serviceGroupId": 150020080 } ], "total": 313, "pageNum": 1, "pageSize": 10 }

示例

正常返回示例

JSON格式

{
  "requestId": "xxxxxxx",
  "data": [
    {
      "serviceGroupName": "服务组",
      "incidentCount": 1,
      "escalationIncidentCount": 100,
      "unAcknowledgedEscalationIncidentCount": 200,
      "unFinishEscalationIncidentCount": 200,
      "serviceGroupId": 100,
      "meanTimeToAcknowledge": 0,
      "meanTimeToRepair": 0,
      "finishProportion": "19%",
      "finishIncidentCount": 111
    }
  ],
  "pageSIze": 10,
  "pageNumber": 1,
  "totalCount": 100
}

错误码

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
2024-08-27API 内部配置变更,不影响调用查看变更详情