Get employee availability
shiftbase_get_availabilityEmployee availability (available / unavailable, all day or from a time) for a date range of at most 62 days, from Shiftbase's availability report. Needs the Basic plan and the "View reports" permission. POST /reports/availability (export json; reads only).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Last date (yyyy-mm-dd), at most 62 days after from. | |
| from | Yes | First date (yyyy-mm-dd). | |
| 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 this employee. | |
| statuses | No | Only these availability types. | |
| department_ids | No | Only these departments. |