Create a new shift.

Creates a shift and related child collections (breaks, skills, calculations, swap eligibility,
rates, premiums) in a single transaction. Returns the created shift id and key details.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Shift payload.

Request payload to create a new shift.

string
required
length between 0 and 100

Shift name. Must be unique.

string

Optional shift description.

string

Shift type (for example: mandatory, available, non-working, flexi).

string

Shift start time in HH:mm format.

string

Shift end time in HH:mm format.

string

Standard hours in HH:mm format.

boolean

When true, standard hours are manually overridden.

string

Shift status: active or inactive.

int32

Number of shift days (1=same/overnight, 2+=multi-day).

string | null

Earliest start in HH:mm format.

string | null

Start of workday in HH:mm format.

string | null

End of workday in HH:mm format.

string | null

Latest finish in HH:mm format. Required.

string

Premium configuration JSON grouped by weekdays and specialDays.

string

Rates configuration JSON grouped by before/during/after.

workShiftSwapEligibility
array of objects | null

Optional swap eligibility rules.

workShiftSwapEligibility
workShiftSkills
array of objects | null

Optional required skills.

workShiftSkills
workShiftCalculations
array of objects | null

Optional custom calculations.

workShiftCalculations
workShiftBreaks
array of objects | null

Optional break definitions.

workShiftBreaks
Headers
string

Tenant identifier from the X-Tenant header.

Responses

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