put https://api.bamboohr.com/api/gateway.php//v1/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. A null start date will remove the assignment. 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": "0000-00-00"
}
]
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.