Data - Set Alert Resolution States
Sets resolution states for the specified alert(s).
POST http://<Servername>/OperationsManager/data/alertResolutionStates
Request Body
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
Name | Type | Description |
---|---|---|
alertIds |
string[] |
List of Alert IDs |
comment |
string |
Comment |
resolutionState |
integer |
Resolution State of Alert |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK.Successfully Resolution state is updated. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Examples
SetAlertResolutionStates
Sample Request
POST http://<Servername>/OperationsManager/data/alertResolutionStates
{
"alertIds": [
"667736a8-d59a-407b-b142-80fd74ba4041"
],
"resolutionState": 249,
"comment": "Acko"
}
Sample Response
{
"failures": [
{
"alertId": null,
"failureMessage": null,
"exceptionType": null
}
],
"isFailure": false
}
Definitions
Name | Description |
---|---|
Resolution |
|
Resolution |
|
Resolution |
ResolutionStateRequest
Name | Type | Description |
---|---|---|
alertIds |
string[] |
List of Alert IDs |
comment |
string |
Comment |
resolutionState |
integer |
Resolution State of Alert |
ResolutionStateUpdateFailure
Name | Type | Description |
---|---|---|
alertId |
string |
Alert ID |
exceptionType |
string |
Exception Type |
failureMessage |
string |
Failure Message |
ResolutionStateUpdateResponse
Name | Type | Description |
---|---|---|
failures | ||
isFailure |
boolean |
is Failure |