v1

latestOpenAPI 3.1.02026-07-24145580597.0 KB
Schedule:v1:Schedulers:Schedule:Shifts:Shifts

Get shifts

Retrieve a list of shifts under a specific schedule

get/scheduler/v1/schedulers/{schedulerId}/shifts

Path parameters

schedulerIdinteger required

The unique identifier of the schedule

The unique identifier of the schedule

Query parameters

startTimeinteger required

The start time to filter by in Unix format (in seconds)

The start time to filter by in Unix format (in seconds)

endTimeinteger required

The end time to filter by in Unix format (in seconds)

The end time to filter by in Unix format (in seconds)

isOpenShiftboolean nullable

Filter shifts that are open shifts

Filter shifts that are open shifts

isPublishedboolean nullable

Filter shifts that are published

Filter shifts that are published

isRequireAdminApprovalboolean nullable

Filter shifts that require admin approval

Filter shifts that require admin approval

jobIdstring[] nullable

List of job IDs

List of job IDs

assignedUserIdsinteger[] nullable

List of user IDs

List of user IDs

shiftIdstring[] nullable

List of shift IDs

List of shift IDs

titlestring nullable

Title of the shift

Title of the shift

sort'created_at' | 'updated_at'

Sort key

order'asc' | 'desc'

Sort order, set only if sort key is set

limitinteger

The maximum number of results to display per page

The maximum number of results to display per page

offsetinteger

The resource offset of the last successfully read resource will be returned as the paging.offset JSON property of a paginated response containing more results

The resource offset of the last successfully read resource will be returned as the paging.offset JSON property of a paginated response containing more results

Response

Successful Response

requestIdstring