Data - Retrieve Alert History
Retrieves alert history for alert ID provided.
GET http://<Servername>/OperationsManager/data/alertHistory/{id}
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
id
|
path | True |
string |
Specify the Alert ID |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK.Successfully retrieved Alert History. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Examples
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"
}
]
}
Definitions
Name | Description |
---|---|
Table |
|
Table |
TableColumn
Name | Type | Description |
---|---|---|
field |
string |
Name of the Column |
header |
string |
Header of the column |
hidden |
boolean |
Is column hidden |
type |
string |
Type of the Column |
TableDataResponse
Name | Type | Description |
---|---|---|
rows |
object[] |
Table Rows of data |
tableColumns |
Table columns of data |