v1
latestOpenAPI 3.1.02026-07-24112760.5 KBCreate a new shift
Create a new shift with the given details.
Request body
Whether person can request changes to the timing of their shift
Whether timesheet associated with the shift has been approved
Whether shift has been archived
Whether shift change requests should be approved automatically
Whether to update joined objects that are linked to the shift
List of client IDs required for shift
The time when the person clocked in (UTC)
The time when the person clocked out (UTC)
Whether shift was created as a result of clocking-in
The end time (UTC) of the shift e.g 2023-07-27 06:30:00+00
Whether the shift has flexible hours
Whether the shift is re-syncing to the user's calendar
Whether the shift is re-sending email to the user
Whether the shift is re-publishing on slack
Whether the shift is re-sending sms to the user
List of license types IDs required for shift
Whether the shift needs syncing to the user's calendar
Whether the shift needs re-sending email to the user
Whether the shift needs publishing on slack
Whether the shift needs re-sending sms to the user
Any notes about the shift
The ID of the payment associated with the shift
The number of people required for the shift if unassigned
The ID of the person assigned to the shift (if any)
Details the shift that was published
The ID of the recurrence the shift belongs to
ID of the request that created the shift
The ID of the role the shift belongs to (if any)
The ID of the shift type
The start time (UTC) of the shift e.g 2023-07-27 06:30:00+00
The status of the shift
The ID of the team the shift belongs to (if any)
When shift was last published
Response
Successful Response
Whether person can request changes to the timing of their shift
Whether timesheet associated with the shift has been approved
Whether shift has been archived
Whether shift change requests should be approved automatically
Whether shift was created as a result of clocking-in
The end time (UTC) of the shift e.g 2023-07-27 06:30:00+00
Whether the shift has flexible hours
The unique ID of the shift
Whether the shift is re-syncing to the user's calendar
Whether the shift is re-sending email to the user
Whether the shift is re-publishing on slack
Whether the shift is re-sending sms to the user
Whether the shift needs re-syncing to the user's calendar
Whether the shift needs re-sending email to the user
Whether the shift needs re-publishing on slack
Whether the shift needs re-sending sms to the user
Any notes about the shift
The ID of the organisation the shift belongs to
The ID of the payment associated with the shift
The number of people required for the shift if unassigned
The ID of the person assigned to the shift (if any)
The recurrence ID for the shift
ID of the request that created the shift
The ID of the role the shift belongs to
The recurrence rule for the shift
The ID of the shift type
The start time (UTC) of the shift e.g 2023-07-27 06:30:00+00
The status of the shift
The ID of the team the shift belongs to
When shift was last published