Time Off
Public API
Create Time Off History Item
Creates a time off history item for an employee. For used type entries, a timeOffRequestId referencing an approved request is required. For override (balance adjustment) entries via the /history path, provide the amount and timeOffTypeId directly. The eventType defaults based on the URI path when omitted.
OAuth Scopes: time_off.write
put/api/v1/employees/{employeeId}/time_off/history
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.
Request body
Response
The history item has been created.
Changes
No recorded changes to this operation across all 2 revisions of this API.