GET api/v1/Commitments/Team/{teamID}

Gets the commitments for all users on the team. The logged in user should either be on the team, or one of its parent teams, or an admin level user. The default date range returns this week and three weeks forward.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
teamID

globally unique identifier

Required

startDate

The start date. If null it will use the default start date

date

None.

endDate

The end date. If null it will use the default end date

date

None.

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

PaginatedResultsOfCommitment
NameDescriptionTypeAdditional information
limit

integer

None.

offset

integer

None.

totalRecordCount

integer

None.

data

Collection of Commitment

None.

Response Formats

application/json, text/json

Sample:
{
  "limit": 1,
  "offset": 2,
  "totalRecordCount": 3,
  "data": [
    {
      "ID": "6e614b41-9eec-43c2-9f7c-94fd10410bce",
      "Text": "sample string 2",
      "Completed": true,
      "PeriodStartDate": "2024-11-21T02:19:05.1779407-05:00",
      "GoalID": "254e996b-9586-426c-92c8-f6e8b9f8f989",
      "TeamID": "f7b24ff7-45c9-4afe-9183-a70d419b2eb3",
      "UserID": "0280e20c-41b6-43cf-ac78-e41e62b58dd3"
    },
    {
      "ID": "6e614b41-9eec-43c2-9f7c-94fd10410bce",
      "Text": "sample string 2",
      "Completed": true,
      "PeriodStartDate": "2024-11-21T02:19:05.1779407-05:00",
      "GoalID": "254e996b-9586-426c-92c8-f6e8b9f8f989",
      "TeamID": "f7b24ff7-45c9-4afe-9183-a70d419b2eb3",
      "UserID": "0280e20c-41b6-43cf-ac78-e41e62b58dd3"
    }
  ]
}