Delen via


Data - Set Alert Resolution States

Hiermee stelt u de oplossingsstatussen voor de opgegeven waarschuwing(en) in.

POST http://<Servername>/OperationsManager/data/alertResolutionStates

Aanvraagbody

Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"

Name Type Description
alertIds

string[]

Lijst met waarschuwings-id's

comment

string

Opmerking

resolutionState

integer

Oplossingsstatus van waarschuwing

Antwoorden

Name Type Description
200 OK

ResolutionStateUpdateResponse

OK. De oplossingsstatus is bijgewerkt.

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

Voorbeelden

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
}

Definities

Name Description
ResolutionStateRequest
ResolutionStateUpdateFailure
ResolutionStateUpdateResponse

ResolutionStateRequest

Name Type Description
alertIds

string[]

Lijst met waarschuwings-id's

comment

string

Opmerking

resolutionState

integer

Oplossingsstatus van waarschuwing

ResolutionStateUpdateFailure

Name Type Description
alertId

string

Waarschuwings-id

exceptionType

string

Type uitzondering

failureMessage

string

Foutbericht

ResolutionStateUpdateResponse

Name Type Description
failures

ResolutionStateUpdateFailure[]

isFailure

boolean

is mislukt