Data - Retrieve Alert History
Haalt de waarschuwingsgeschiedenis op 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 |
OK. Waarschuwingsgeschiedenis is opgehaald. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Voorbeelden
RetrieveAlertHistory
Voorbeeldaanvraag
GET http://<Servername>/OperationsManager/data/alertHistory/6A88FBC1-0EDC-4173-9BB1-30FFEC296672
Voorbeeldrespons
{
"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 |
---|---|
Table |
|
Table |
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[] |
Tabel Rijen met gegevens |
tableColumns |
Tabelkolommen met gegevens |