Skip to main content

getTeamSituationIds

A MoogDb v2 method that returns the total number of Situations, and a list of the Situation IDs, associated with a team.

Back to MoogDb V2 API Method Reference.

Request arguments

Method getTeamSituationIds takes the following request arguments:

Name

Type

Required

Description

teamName

String

Yes

Team name.

limit

Number

Maximum number of Situations to return.

Response

Method getTeamSituationIds returns the following response:

Type

Description

JSON Object

A JSON object containing the total number of Situations and the Situation IDs associated with the team.

Examples

The following examples demonstrate typical use of method getTeamSituationIds:

Response example

Example response returning the total number of Situations and the Situation IDs associated with the team:

{
    "total_situations":10,
    "sitn_ids":[4, 5, 6, 12, 14, 15, 16, 17, 18, 19]
}