Improved
Time Off: accrualType and policyId Added to Policy Types & Balances Response
5 days ago by ReadMe API
The Time Off policy-types and balances endpoints now expose a policy's accrual type and the policy each balance belongs to, so integrations can distinguish fixed, hourly, and unlimited policies and map every balance back to its specific policy.
What's New
- Updated guide: Policy Types & Balances — added
accrualTypeto the policy object andpolicyIdto user balances, with updated response examples and field tables
Key Improvements
accrualTypeon each policy: Every item indata.policyTypes[].policies[]from Get Policy Types now includesaccrualType— one offixed,hourly, orunlimited.policyIdon each balance: Get User Balances (data.balances[]) and Update User Balance (data.balance) now includepolicyId, the id of the policy the balance belongs to — useful when a policy type contains more than one policy.
