Timeoff > PolicyAssignment
Creates a Policy assignment
Changed onCreate a Time off Policy Assignment
post/api/2026-10-01/resources/timeoff/policy_assignments
Request
- Base URLhttps://api.factorialhr.com
- URLhttps://api.factorialhr.com/api/2026-10-01/resources/timeoff/policy_assignments
- Auth
- OAuth 2Authorization code: https://id.factorialhr.com/oauth/authorizeToken URL: https://id.factorialhr.com/api/oauth/token scopes: time_off
- or API key in header x-api-key
Request body
Example request
{
"timeoff_policy_id": "1",
"employee_id": "1",
"effective_at": "2024-01-01"
}Response
CREATED
Example response
{
"id": "1",
"timeoff_policy_id": "1",
"employee_id": "1",
"effective_at": "2024-01-01"
}Changes
- info
endpoint added
- info