v1

latestOpenAPI 3.1.02026-07-26549156879.0 KB
Timeoff > PolicyAssignment

Creates a Policy assignment

Create a Time off Policy Assignment

post/api/2026-07-01/resources/timeoff/policy_assignments

Request body

timeoff_policy_idstring required

The time off policy id

employee_idstring required

The employee id

effective_atstring required

The effective date of the policy assignment

Example request

{
  "timeoff_policy_id": "1",
  "employee_id": "1",
  "effective_at": "2024-01-01"
}

Response

CREATED

idstring

Unique identifier of the policy assignment

timeoff_policy_idstring required

The time off policy id

employee_idstring required

The employee id

effective_atstring required

The effective date of the policy assignment

Example response

{
  "id": "1",
  "timeoff_policy_id": "1",
  "employee_id": "1",
  "effective_at": "2024-01-01"
}