Data - Update Alert Details
Updates the alert Details for the specified alert.
POST http://<Servername>/OperationsManager/data/alertDetails
Request Body
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
Name | Type | Description |
---|---|---|
age |
string |
Age of alert |
alertUpdateFailure |
Alert Failure details |
|
customFields |
string[] |
Custom fields in Alert |
id |
string |
Alert ID |
isMonitorAlert |
boolean |
is Alert generated by Monitor |
monitorName |
string |
Monitor Name associated with Alert |
owner |
string |
Owner |
priority |
string |
Priority of the Alert |
repeatCount |
integer |
Repeat count |
resolutionState |
string |
Resolution State of Alert |
ruleName |
string |
Rule Name associated with Alert |
severity |
string |
Severity of the Alert |
source |
string |
Source of the Alert |
sourceId |
string |
Source ID of the Alert |
ticketId |
string |
Ticket ID |
typeSourceId |
string |
Type source ID |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK.Successfully updated alert details. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Examples
UpdateAlertDetails
Sample Request
POST http://<Servername>/OperationsManager/data/alertDetails
{
"id": "667736a8-d59a-407b-b142-80fd74ba4041",
"source": "All Management Servers Resource Pool",
"sourceId": "10a8e3ed-27d7-e860-d22f-c6ea78208838",
"priority": "Normal",
"severity": "Error",
"isMonitorAlert": false,
"age": "3 days, 0 hours",
"repeatCount": 4320,
"ruleName": "All Management Servers Resource Pool Unavailable",
"monitorName": null,
"typeSourceId": "86006a18-5f04-2002-a8a3-9cd37ab016e9",
"owner": null,
"ticketId": null,
"resolutionState": "249",
"customFields": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"alertUpdateFailure": null
}
Sample Response
{
"id": "667736a8-d59a-407b-b142-80fd74ba4041",
"source": "All Management Servers Resource Pool",
"sourceId": "10a8e3ed-27d7-e860-d22f-c6ea78208838",
"priority": "Normal",
"severity": "Error",
"isMonitorAlert": false,
"age": "3 days, 0 hours",
"repeatCount": 4320,
"ruleName": "All Management Servers Resource Pool Unavailable",
"monitorName": null,
"typeSourceId": "86006a18-5f04-2002-a8a3-9cd37ab016e9",
"owner": null,
"ticketId": null,
"resolutionState": "249",
"customFields": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"alertUpdateFailure": null
}
Definitions
Name | Description |
---|---|
Alert |
|
Alert |
AlertDetailsResponse
Name | Type | Description |
---|---|---|
age |
string |
Age of alert |
alertUpdateFailure |
Alert Failure details |
|
customFields |
string[] |
Custom fields in Alert |
id |
string |
Alert ID |
isMonitorAlert |
boolean |
is Alert generated by Monitor |
monitorName |
string |
Monitor Name associated with Alert |
owner |
string |
Owner |
priority |
string |
Priority of the Alert |
repeatCount |
integer |
Repeat count |
resolutionState |
string |
Resolution State of Alert |
ruleName |
string |
Rule Name associated with Alert |
severity |
string |
Severity of the Alert |
source |
string |
Source of the Alert |
sourceId |
string |
Source ID of the Alert |
ticketId |
string |
Ticket ID |
typeSourceId |
string |
Type source ID |
AlertUpdateFailure
Name | Type | Description |
---|---|---|
exceptionType |
string |
Exception Type |
failureMessage |
string |
Alert Failure Message |