Skip to main content

mergeSituations

A MoogDb v2 method that merges two or more Situations, superseding the original Situations if required, and returns details of the newly created Situation.

Back to MoogDb V2 API Method Reference.

Request arguments

Method mergeSituations takes the following request arguments:

Name

Type

Required

Description

situationIds

Native Array

Yes

A JSON array containing the IDs of the Situations to merge.

keepOriginals

Boolean

Yes

Determines what to do with the original Situations:

  • true: Keep the original Situations.

  • false: Supersede the original Situations.

Response

Method mergeSituations returns the following response:

Type

Description

CEvent

A CEvent object containing details of 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.