Vacation overview
bamboohr_vacation_overviewGet vacation report per department or employee list for a year: balance, used, planned, unplanned, longest block, and filter for missing 14-day blocks.
Instructions
Vacation report for one department (or a list of employeeIds) and one calendar year: vacation balance as of a date, used year-to-date, vacation planned after that date (approved or requested), unplanned balance (balance minus planned), the longest continuous vacation block in calendar days, and whether they have at least one 14-day continuous block. Adjacent requests are merged into one block. A department or employeeIds is required — a company-wide overview in one call is not allowed, ask per department — and the group must fit the per-call record limit. Use onlyMissingFourteenDayBlock to list only employees without a 14-day vacation. The summary counts all employees before that filter. Note: planned vacation excludes a request already in progress on the as-of date, on the assumption that BambooHR's balance has already deducted it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | No | Balance date, YYYY-MM-DD, must be inside the year. Default: today (or Dec 31 for past years). | |
| year | No | Calendar year. Default: current year. | |
| department | No | Only employees in this department (exact name, case-insensitive). | |
| employeeIds | No | Only these employees. Use instead of, or together with, department. | |
| timeOffType | No | Vacation time-off type name or id. Default: the enrolled vacation type, else a type named like 'vacation' or 'puhkus'. | |
| onlyMissingFourteenDayBlock | No | Return only employees without a 14-day continuous block. |