Skip to main content

getIncidentsByIds

You can use this method to retrieve information on multiple incidents, by referencing their IDs.

API url: CONTROL_CENTER_APIs_ACCESS_URL/v1.2/jsonrpc/incidents

Parameters

Parameter

Description

Included in request

Type

Values

ids

The IDs of the incidents you want to retrieve information for.

Mandatory

Array of strings

The list can contain up to 10 IDs.

Return value

All the data returned by this method is covered under the documentation for the getIncident method.

Example

Request:

{
  "jsonrpc": "2.0",
  "method": "getIncidentsByIds",
  "id": "<some-id>",
  "params": {
    "ids": ["67dd30dd4a842ebbbb0b6af4", "67dd30dd4a842ebbbb0b6af5","67dd30dd4a842ebbbb0b6af6"]
  }
}

Response:

{
  "id": "<id_set_in_the_request_payload>",
  "jsonrpc": "2.0",
  "result": [
      { ... incident 1 data ... },
      { ... incident 2 data ... }
}

An example for the data returned for a specific incident can be found under the documentation for the getIncident method.