Schedule a shift
shiftbase_create_rosterWRITE: put one employee on the schedule for one date (a single, non-recurring shift) in a team, with a shift type, start/end time and break. The employee is notified only when notify is true. POST /rosters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Date of the shift (yyyy-mm-dd). | |
| notify | No | Notify the employee (default false). | |
| team_id | Yes | Team (shiftbase_list_teams). | |
| user_id | Yes | The employee to schedule. | |
| end_time | Yes | End, 24-hour hh:mm (e.g. 17:30); earlier than start = ends the next day. | |
| shift_id | Yes | Shift type (shiftbase_list_shift_types). | |
| start_time | Yes | Start, 24-hour hh:mm (e.g. 09:00). | |
| description | No | Note shown on the shift. | |
| break_minutes | No | Unpaid break in minutes (default 0). | |
| department_id | Yes | Department of the team. | |
| paid_break_minutes | No | Paid break in minutes (default 0). |