List base shifts

This endpoint can be used to list base shifts. At least one selector must be provided: _id, startDate+endDate, templateIds, userIds, taskTypeIds, or tagIds. When startDate/endDate are provided, they define a time window and must be provided together

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
_id
array of strings

Base shift ID(s)

_id
boolean

Archived

templateIds
array of strings

Filter by shift template ID(s)

templateIds
planningConfigIds
array of strings

Filter by planning config ID(s)

planningConfigIds
userIds
array of strings

Filter by user ID(s)

userIds
number

Start of the time window as Unix timestamp in milliseconds. Must be provided together with endDate. Returns base shifts that overlap the provided window

number

End of the time window as Unix timestamp in milliseconds. Must be provided together with startDate. Returns base shifts that overlap the provided window. Maximum allowed window range is 365 days.

number

Skip from index count (default: 0)

number

Number of items to return (default: 100, max: 1000)

string

Field(s) to sort by (sort options : 1 for ascending, -1 for descending)

Headers
string
required

Session ID

Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json