put https://api.bamboohr.com/api/gateway.php//v1_1/employees//time_off/policies
To use this API make an HTTP PUT where the body of the request is the JSON documented below. A time off policy will be assigned to the employee with accruals starting on the date specified. On success, a 200 Success code is returned and the content of the response will be the same as the List Time off Policies API.
Sample Request
[
{
"timeOffPolicyId": 4,
"accrualStartDate": "2012-02-01"
},
{
"timeOffPolicyId":5,
"accrualStartDate": "2015-12-15"
}
]
Notes
You may only assign time off policies to employees with hire dates.
The Accrual Start date must be later than the Employees PTO Hire Date.
To adjust the existing Accrual Start Date, unassign the Employee from the Policy first.
Unlike the previous version all policies must have an accrual start date.