Delen via


Data - Retrieve Alert History

Hiermee wordt de waarschuwingsgeschiedenis opgehaald voor de opgegeven waarschuwings-id.

GET http://<Servername>/OperationsManager/data/alertHistory/{id}

URI-parameters

Name In Vereist Type Description
id
path True

string

Geef de waarschuwings-id op

Antwoorden

Name Type Description
200 OK

TableDataResponse

OK. Waarschuwingsgeschiedenis is opgehaald.

Media Types: "application/json", "text/json", "application/xml", "text/xml"

Voorbeelden

RetrieveAlertHistory

Sample Request

GET http://<Servername>/OperationsManager/data/alertHistory/6A88FBC1-0EDC-4173-9BB1-30FFEC296672

Sample Response

{
  "tableColumns": [
    {
      "field": "id",
      "header": "",
      "type": null,
      "hidden": true
    },
    {
      "field": "modifiedby",
      "header": "Modified By",
      "type": null,
      "hidden": false
    },
    {
      "field": "comments",
      "header": "Comments",
      "type": null,
      "hidden": false
    },
    {
      "field": "timemodified",
      "header": "Time Modified",
      "type": null,
      "hidden": false
    }
  ],
  "rows": [
    {
      "id": "c24bb3b8-a7b1-4e90-bdcd-db253245bba8",
      "modifiedby": "Auto-resolve",
      "comments": "Auto resolved.",
      "timemodified": "2022-06-16T11: 00: 00.3600000Z"
    },
    {
      "id": "cebe5249-5614-4ceb-9852-b9bf95617977",
      "modifiedby": "System",
      "comments": "Alert Activated by the System.",
      "timemodified": "2022-05-16T20: 06: 46.0500000Z"
    }
  ]
}

Definities

Name Description
TableColumn
TableDataResponse

TableColumn

Name Type Description
field

string

Naam van de kolom

header

string

Koptekst van de kolom

hidden

boolean

Is de kolom verborgen

type

string

Type van de kolom

TableDataResponse

Name Type Description
rows

object[]

Tabelrijen met gegevens

tableColumns

TableColumn[]

Tabelkolommen met gegevens