A MoogDb v2 method that removes the primary team from a Situation. The team remains assigned to the Situation.
Method removeSituationPrimaryTeam
takes the following request arguments:
Name | Type | Required | Description |
---|---|---|---|
| Number | Yes | ID of the Situation that you want to remove the primary team from. |
Method removeSituationPrimaryTeam
returns the following response:
Type | Description |
---|---|
Object | A Javascript object containing the Situation ID. |
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.
The following examples demonstrate typical use of method removeSituationPrimaryTeam
:
Example request to remove the primary team from Situation 1906:
var actions = moogdb.removeSituationPrimaryTeam(1906);
Example response returning the Situation ID that the primary team has been removed from:
{"sitn_id": 1906}