Skip to main content

moveSituationToQueue

A MoogDb v2 method that assigns a Situation to a queue and writes a thread entry if required. The queue and user may be provided as either an ID or a valid name.

Back to MoogDb V2 API Method Reference.

Request arguments

Method moveSituationToQueue takes the following request arguments:

Name

Type

Required

Description

situationId

Number

Yes

Situation ID.

user

Object

Yes

An object containing either a valid user name or ID.

queue

Object

Yes

An object containing either a valid queue name or ID

journal

String

No

An entry to add to the journal thread, if required.

Response

Method moveSituationToQueue 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 moveSituationToQueue:

Response example