Assign a time-off code to an employee, or update the existing assignment.

Assigns a time-off code to an employee if not already assigned, or updates the existing assignment (start/end dates, balance, accrual tiers). This is an upsert - no separate create step is needed.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Employee to assign the code to.

string
required

Master time-off code Id. Must already exist in the workspace.

Query Params
integer
required

Workspace the employee and code belong to.

Body Params

An employee's assignment of a master time off code, including balance and accrual overrides. employeeId and codeId come from the request path.

date-time
date-time | null
number
boolean
string
enum
Allowed:
tiers
array of objects
tiers
Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses
204

Success — assignment created or updated.

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*