List scheduled shifts
shiftbase_list_rostersList the schedule (rosters = shifts assigned to employees) for a date range of at most 62 days: date, start/end time, break, employee, team, shift type, department, published state, hours and cost. Each item's occurrence_id identifies it for shiftbase_get_roster and shiftbase_update_roster. GET /rosters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Results per page, 1-200 (default 50). The reply's total and next_offset show what is left. | |
| offset | No | Index of the first result; pass the previous reply's next_offset. | |
| user_id | No | Only shifts of this employee. | |
| max_date | Yes | Last date (yyyy-mm-dd), at most 62 days after min_date. | |
| min_date | Yes | First date (yyyy-mm-dd). | |
| department_id | No | Only shifts in this department. |