getTeamSituationIds
Request that returns the total number of Situations that are assigned to a team, and a list of their Situation IDs.
Back to Graze API EndPoint Reference.
Request arguments
Endpoint getTeamSituationIds
takes the following request arguments:
Name |
Type |
Required |
Description |
---|---|---|---|
|
String |
Yes |
A valid |
|
String |
Yes |
Name of an existing team. |
Response
Endpoint getTeamSituationIds
returns the following response:
Successful requests return a JSON object containing the following:
Name |
Type |
Description |
---|---|---|
|
Number |
The total number of Situations assigned to a team. |
|
Number list |
A list of Situation IDs of the Situations assigned to a team. |
Examples
The following examples demonstrate typical use of endpoint getTeamSituationIds
:
Request example
Example cURL request to return the Situations assigned to team "Cloud Devops":
curl -G -u graze:graze -k -v "https://localhost/graze/v1/getTeamSituationIds" \ --data-urlencode "team_name=Cloud Devops"
Response example
Example response returning the total number of Situations followed by the ID of each situation.
{ "total_situations": 7,"sitn_ids": [20,21,39,55,85,119,145] }