List shifts
deputy_list_shiftsSearch the roster (scheduled shifts) by time window, employee, area, and published/open state. Each record has StartTime/EndTime (unix), StartTimeLocalized, Employee (0 or null when open), OperationalUnit (area), Published, Open, Cost and _DPMetaData with names. Deputy: POST /api/v1/resource/Roster/QUERY.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Only shifts starting at or before this time: a unix timestamp in seconds, or an ISO 8601 date/datetime (include an offset for local times). | |
| max | No | Page size, 1-500 (Deputy's cap). Default 100. | |
| from | No | Only shifts starting at or after this time: a unix timestamp in seconds, or an ISO 8601 date/datetime (include an offset for local times). | |
| open | No | true = open (unfilled) shifts only. | |
| start | No | Pagination offset (0-based). Pass the previous page's next_start. | |
| area_id | No | Only shifts in this area (OperationalUnit id). | |
| published | No | true = published only; false = drafts only. | |
| employee_id | No | Only this employee's shifts. |