POST api/v1/Teams
Create a new team
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
fields |
Use this to only return the data fields you're interested in. Field names not found are ignored and no error is thrown. If no fields are found then the full object is returned. |
Collection of string |
None. |
suppressResponseCodes |
Some applications do wonky things if error codes are used. Use this to force 200s to always return. |
boolean |
None. |
APIKey |
This is your unique key that identifies you as the developer of this app. Required for all calls. |
string |
None. |
APIToken |
This is the user's session token generated when you authenticate the user |
string |
None. |
Body Parameters
Create object
TeamCreateFieldsName | Description | Type | Additional information |
---|---|---|---|
Name |
Name of the team |
string |
None. |
OUID |
OU to put the team in. If this field is null ensure that the ParentTeamID field is set and this field will be populated by the OU ID of its assigned parent. |
globally unique identifier |
None. |
ParentTeamID |
ID of the parent team. If the OUID field is null then the OU ID of the parent team provided by this field will be used to fill that field. |
globally unique identifier |
None. |
LeaderID |
ID of the team leader |
globally unique identifier |
None. |
Request Formats
application/json, text/json
{ "Name": "sample string 1", "OUID": "9fd9b176-cdbe-4379-8cfa-e3c4dae155fb", "ParentTeamID": "75e872fa-f89a-4376-953e-2f38a627a617", "LeaderID": "7c52803b-cc2e-4f7e-a115-5a9dcf69ccaf" }
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
TeamName | Description | Type | Additional information |
---|---|---|---|
ID |
Team's ID |
globally unique identifier |
None. |
Name |
Team's name |
string |
None. |
OUName |
Team's OU's name |
string |
None. |
OUID |
Team's OU ID |
globally unique identifier |
None. |
LeaderFName |
Team's leader's first name |
string |
None. |
LeaderLName |
Team's leader's last name |
string |
None. |
LeaderID |
Team's lead user ID |
globally unique identifier |
None. |
ParentIDs |
Parent IDs of this team |
Collection of globally unique identifier |
None. |
Response Formats
application/json, text/json
{ "ID": "7bb95b64-0621-49ab-817f-de8655aa709d", "Name": "sample string 2", "OUName": "sample string 3", "OUID": "c00ad7a4-32df-4bd9-8634-a9a13cab63bd", "LeaderFName": "sample string 5", "LeaderLName": "sample string 6", "LeaderID": "6a804b8f-41db-462e-b953-7c954d383dd0", "ParentIDs": [ "547e1683-33b6-4a7c-8492-b48bf2ab43aa", "ae9b5840-4ec8-4cc5-890c-deec29894f25" ] }