Assign Time Off Policies (v1)

Deprecated. Use Assign Time Off Policies (v1.1) instead (assign-time-off-policies-v1-1). Assigns time off policies to an employee with accruals starting on the specified date. A null start date removes the existing assignment. On success, returns the current list of assigned policies.

OAuth Scopes: time_off.write

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

The internal employee ID of the employee whose time off policies are being assigned.

Body Params
Responses

400

Invalid request. Possible causes: employee not found, missing hire date, malformed JSON, missing timeOffPolicyId, or a policy is already assigned for the time off type.

401

Unauthorized. Invalid API credentials.

403

Insufficient permissions to assign time off policies.

422

Unprocessable entity. The operation is not allowed for this employee, for example because of EOR restrictions.

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