Shifts
get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
beforestringOptionalExample:
Shift cursor to fetch results before
a3c2a57e-2797-4159-8700-8ad55bf8150elastnumberOptionalExample:
The amount of results to fetch before the 'before' cursor
10afterstringOptionalExample:
Shift cursor to fetch results after
a3c2a57e-2797-4159-8700-8ad55bf8150efirstnumberOptionalExample:
The amount of results to fetch after the 'after' cursor
10statusstring · enumOptionalExample:
Shift status
scheduledPossible values: endDatestring · date-timeOptionalExample:
ISO8601 compatible datetime string to filter on shift until a given date
2017-07-21T17:32:28ZstartDatestring · date-timeOptionalExample:
ISO8601 compatible datetime string to filter on shift from a given date
2017-07-21T17:32:28ZupdatedAfterstring · date-timeOptionalExample:
ISO8601 compatible datetime string
2017-07-21T17:32:28ZResponses
200Success
application/json
400
Bad request. Response body shows what the problem is.
401
Service account not properly authenticated
403
Service account forbids executing this action
default
application/json
get
/api/v1/shiftsLast updated
Was this helpful?