GET api/SessionTeams/Mine

Get session teams for logged in user

Request Information

URI Parameters

NameDescriptionTypeAdditional information
q

A query parameter. Use this to limit the result set. ?q[fieldName1]=value1&q[fieldName2]=value2

Dictionary of string [key] and string [value]

None.

limit

The number of records returned, default is 20

integer

None.

offset

The offset from the start of the list of values, default is 0

integer

None.

orderBy

Orders the list that comes down to the field name provided. If not provided then the default ordering will be used.

string

None.

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

None.

Response Information

Resource Description

PaginatedResultsOfTeam
NameDescriptionTypeAdditional information
limit

integer

None.

offset

integer

None.

totalRecordCount

integer

None.

data

Collection of Team

None.

Response Formats

application/json, text/json

Sample:
{
  "limit": 1,
  "offset": 2,
  "totalRecordCount": 3,
  "data": [
    {
      "ID": "90fb0e64-23f7-4563-b96d-ed313983226e",
      "Name": "sample string 2",
      "OUName": "sample string 3",
      "OUID": "e57d7f06-7462-44b1-abe7-b3901d3a8e19",
      "LeaderFName": "sample string 5",
      "LeaderLName": "sample string 6",
      "LeaderID": "54209917-56ae-4d06-aa56-6c873a8c9abd",
      "ParentIDs": [
        "7c16c766-c77f-4862-a81e-5f9959e68425",
        "d2fa9eb2-f011-434d-b39f-390bb594b067"
      ]
    },
    {
      "ID": "90fb0e64-23f7-4563-b96d-ed313983226e",
      "Name": "sample string 2",
      "OUName": "sample string 3",
      "OUID": "e57d7f06-7462-44b1-abe7-b3901d3a8e19",
      "LeaderFName": "sample string 5",
      "LeaderLName": "sample string 6",
      "LeaderID": "54209917-56ae-4d06-aa56-6c873a8c9abd",
      "ParentIDs": [
        "7c16c766-c77f-4862-a81e-5f9959e68425",
        "d2fa9eb2-f011-434d-b39f-390bb594b067"
      ]
    }
  ]
}