Moogsoft Docs

getSituation

A MoogDb v2 method that returns details of a Situation.

Back to MoogDb V2 API Method Reference.

Request arguments

Method getSituation takes the following request arguments:

Name

Type

Required

Description

situationId

Number

Yes

Situation ID.

Response

Method getSituation returns the following response:

Type

Description

Object

A JSON object representing the Situation.

API behavior in active and historic databases

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.