timeOffPolicy
Estimate accrual value for policy
post/v1/org/{orgId}/timeoff/policy/{policyId}/estimateAccruals
Request
- Base URLhttps://localhost
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
orgIdstring required
Org identifier (either id or slug)
policyIdstring required
TimeOff policy id
Request body
Example request
{
"name": "US Part-Time/Intern",
"displayName": "PTO",
"description": "Annual sick days allotted to employees",
"emoji": "🌴",
"holidayCalendarId": "588f7ee98f138b19220041a7",
"policyEvents": [
{
"groupId": "588f7ee98f138b19220041a7",
"title": "Tenure milestones"
}
]
}Response
accepted
Changes
No recorded changes to this operation across all 33 revisions of this API.