ListDataReportForServiceGroup

Updated at:

Retrieves paginated statistics for service groups.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

gemp:ListDataReportForServiceGroup

get

*All Resource

*

None None

Request syntax

POST /statistics/listDataReportForServiceGroup HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

body

object

No

The request body.

startTime

string

No

The start time.

2021-09-09

endTime

string

No

The end time.

2024-10-22

pageNumber

integer

No

The page number.

1

pageSize

integer

No

The number of entries per page.

10

serviceGroupName

string

No

The name of the service group.

A服务组

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

Response elements

Element

Type

Description

Example

object

The response structure.

requestId

string

The request ID.

8D0F6435-162E-5088-84A1-4178C0F209CD

data

array<object>

The statistics.

object

The statistics.

serviceGroupName

string

The name of the service group.

标准集成服务组

incidentCount

integer

The number of events.

1

escalationIncidentCount

integer

The number of escalated events.

100

unAcknowledgedEscalationIncidentCount

integer

The number of unacknowledged escalated events.

200

unFinishEscalationIncidentCount

integer

The number of unfinished escalated events.

200

serviceGroupId

integer

The ID of the service group.

103419260

meanTimeToAcknowledge

integer

The average response time of the day.

3分19秒

meanTimeToRepair

integer

The average time to resolution of the day.

3分19秒

finishProportion

string

The resolution rate.

0%

finishIncidentCount

integer

The number of resolved events.

111

pageSIze

integer

The number of entries per page.

10

pageNumber

integer

The page number.

1

totalCount

integer

The total number of entries.

100

{ "requestId": "gdgsdgsggsdg", "data": [ { "meanTimeToAcknowledge": "66 days 37 minutes 50 seconds", "meanTimeToRepair": "20 hours 20 minutes 48 seconds", "finishProportion": "17.65%", "serviceGroupName": "Meal Group (DingTalk group)", "incidentCount": 34, "finishIncidentCount": 6, "escalationIncidentCount": 21, "unAcknowledgedEscalationIncidentCount": 20, "unFinishEscalationIncidentCount": 21, "serviceGroupId": 32 }, { "meanTimeToAcknowledge": "66 days 37 minutes 50 seconds", "meanTimeToRepair": "20 hours 20 minutes 48 seconds", "finishProportion": "25.00%", "serviceGroupName": "National Day Enterprise", "incidentCount": 24, "finishIncidentCount": 6, "escalationIncidentCount": 11, "unAcknowledgedEscalationIncidentCount": 10, "unFinishEscalationIncidentCount": 11, "serviceGroupId": 180020080 }, { "meanTimeToAcknowledge": "66 days 37 minutes 50 seconds", "meanTimeToRepair": "20 hours 20 minutes 48 seconds", "finishProportion": "25.00%", "serviceGroupName": "[Daily] Hujiangping's Test Service Group", "incidentCount": 24, "finishIncidentCount": 6, "escalationIncidentCount": 11, "unAcknowledgedEscalationIncidentCount": 10, "unFinishEscalationIncidentCount": 11, "serviceGroupId": 170020030 }, { "meanTimeToAcknowledge": "66 days 37 minutes 50 seconds", "meanTimeToRepair": "20 hours 20 minutes 48 seconds", "finishProportion": "25.00%", "serviceGroupName": "Slack", "incidentCount": 24, "finishIncidentCount": 6, "escalationIncidentCount": 11, "unAcknowledgedEscalationIncidentCount": 10, "unFinishEscalationIncidentCount": 11, "serviceGroupId": 110030020 }, { "meanTimeToAcknowledge": "66 days 37 minutes 50 seconds", "meanTimeToRepair": "11 days 33 minutes 35 seconds", "finishProportion": "9.09%", "serviceGroupName": "Lark Group", "incidentCount": 11, "finishIncidentCount": 1, "escalationIncidentCount": 10, "unAcknowledgedEscalationIncidentCount": 10, "unFinishEscalationIncidentCount": 10, "serviceGroupId": 130000010 }, { "meanTimeToAcknowledge": "66 days 37 minutes 50 seconds", "meanTimeToRepair": "11 days 33 minutes 35 seconds", "finishProportion": "9.09%", "serviceGroupName": "Detailed Scheduling", "incidentCount": 11, "finishIncidentCount": 1, "escalationIncidentCount": 10, "unAcknowledgedEscalationIncidentCount": 10, "unFinishEscalationIncidentCount": 10, "serviceGroupId": 110020010 }, { "meanTimeToAcknowledge": "0", "meanTimeToRepair": "0", "finishProportion": "0.00%", "serviceGroupName": "New Service Group 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": "Card Service Group Test [Do Not Modify]", "incidentCount": 7, "finishIncidentCount": 0, "escalationIncidentCount": 7, "unAcknowledgedEscalationIncidentCount": 7, "unFinishEscalationIncidentCount": 7, "serviceGroupId": 160020030 }, { "meanTimeToAcknowledge": "0", "meanTimeToRepair": "0", "finishProportion": "0.00%", "serviceGroupName": "This is a service group 1018", "incidentCount": 7, "finishIncidentCount": 0, "escalationIncidentCount": 7, "unAcknowledgedEscalationIncidentCount": 7, "unFinishEscalationIncidentCount": 7, "serviceGroupId": 150020080 } ], "total": 313, "pageNum": 1, "pageSize": 10 }

Examples

Success response

JSON format

{
  "requestId": "8D0F6435-162E-5088-84A1-4178C0F209CD",
  "data": [
    {
      "serviceGroupName": "标准集成服务组",
      "incidentCount": 1,
      "escalationIncidentCount": 100,
      "unAcknowledgedEscalationIncidentCount": 200,
      "unFinishEscalationIncidentCount": 200,
      "serviceGroupId": 103419260,
      "meanTimeToAcknowledge": 0,
      "meanTimeToRepair": 0,
      "finishProportion": "0%",
      "finishIncidentCount": 111
    }
  ],
  "pageSIze": 10,
  "pageNumber": 1,
  "totalCount": 100
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.