Time Off
Public API
Assign Time Off Policies (v1.1)
Changed onAssigns time off policies to an employee with accruals starting on the specified date. On success, returns the current list of assigned policies including manual and unlimited policy types.
OAuth Scopes: time_off.write
put/api/v1_1/employees/{employeeId}/time_off/policies
Request
- Base URLhttps://companySubDomain.bamboohr.com
- Auth
- HTTP basic
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopestime_off.write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
employeeIdinteger required
The internal employee ID of the employee whose time off policies are being assigned.
Request body
Example request
[
{
"timeOffPolicyId": 4,
"accrualStartDate": "2024-02-01"
},
{
"timeOffPolicyId": 5,
"accrualStartDate": null
}
]Response
The current list of assigned policies for the employee, including manual and unlimited types.
Changes
- info
api operation id
assign-time-off-policies-v1-1removed and replaced withassign-time-off-policies-v1_1
- info