Skip to main content

createSituation

A MoogDb v2 method that creates a new Situation, containing no alerts.

Back to MoogDb V2 API Method Reference.

Request arguments

Method createSituation takes the following request arguments:

Name

Type

Required

Description

moderator

String

Yes

A valid user name.

label

String

New Situation description.

Response

Method createSituation returns the following response:

Type

Description

CEvent

A CEvent object containing the newly created Situation.

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.