GET api/v1/Goals/Waypoints

Returns all of the waypoints for a collection of goal IDs

Request Information

URI Parameters

NameDescriptionTypeAdditional information
goalIDs

The IDs of the goals you want Waypoints for

Collection of globally unique identifier

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

PaginatedResultsOfGoalWaypoint
NameDescriptionTypeAdditional information
limit

integer

None.

offset

integer

None.

totalRecordCount

integer

None.

data

Collection of GoalWaypoint

None.

Response Formats

application/json, text/json

Sample:
{
  "limit": 1,
  "offset": 2,
  "totalRecordCount": 3,
  "data": [
    {
      "ID": "d48f6b8c-85b4-43d9-a0c7-000e44ae25f0",
      "GoalID": "e3b73313-d411-47f1-a6e1-c8e45aade430",
      "Name": "sample string 3",
      "Date": "2024-05-19T10:17:52.3261183-04:00",
      "Value": 5.1
    },
    {
      "ID": "d48f6b8c-85b4-43d9-a0c7-000e44ae25f0",
      "GoalID": "e3b73313-d411-47f1-a6e1-c8e45aade430",
      "Name": "sample string 3",
      "Date": "2024-05-19T10:17:52.3261183-04:00",
      "Value": 5.1
    }
  ]
}