Time off API: Get Policy update
about 24 hours ago
The 'Get Policy Details' endpoint now includes a new 'bookingWorkDaysOnly' property.
The Time off policy now allows users to define Days that can be requested at the Policy level (instead of the Policy Type). To reflect this change in the public API, the 'bookingWorkDaysOnly' property was added to the Policy details. This boolean property specifies whether non-working days (e.g., weekends and public holidays) are deducted from the balance.
Notes:
- Policies created before this release will continue to return the original value inherited from the relevant Policy Type.
- Newly created policy types will hold the default value 'true' until we deprecate this property from the 'Get Policy Type Details' endpoint in May 2025.
To learn more, see Get policy details.