assignAndAcknowledgeSituation

A MoogDb v2 method that assigns and acknowledges a user as the owner of a Situation.

Back to MoogDb V2 API Method Reference.

Request arguments

Method assignAndAcknowledgeSituation takes the following request arguments:

Name

Type

Required

Description

SituationId

Number

Yes

Situation ID.

userId

Number

No, if you specify username.

ID of the user to be assigned as the owner of the Situation. You must provide the userId or the username.

username

String

No, if you specify userId.

Username of the user to be assigned as the owner of the Situation. You must provide the userId or the username.

Response

Method assignAndAcknowledgeSituation returns the following response:

API update behavior

The behavior of this method depends on whether the relevant alert or Situation is open, closed and still in the active database, or closed and archived to the historic database. This method updates or returns information about the alert or Situation as follows:

See API Update Behavior for more information on Situation statuses.

Examples

The following examples demonstrate typical use of method assignAndAcknowledgeSituation:

Response example