分页查询服务组统计数据 。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
请求语法
POST /statistics/listDataReportForServiceGroup HTTP/1.1
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
body | object | 否 | A short description of struct | |
startTime | string | 否 | 开始时间 | 2021-09-09 |
endTime | string | 否 | 结束时间 | 2021-09-30 |
serviceGroupName | string | 否 | 服务组名称 | A服务组 |
{ "pageNumber": 1, "pageSize": 10, "startTime": "2021-11-02", "endTime": "2021-11-09", "clientToken": "ec1eba2b-cbd9-4daa-aa6e-d127a27989bc" }
返回参数
{ "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-27 | API 内部配置变更,不影响调用 | 查看变更详情 |