Create leave request
breathehr_create_leave_requestDestructive
WRITE: request leave for an employee (holiday by default, or other leave). It is created as a request, then follows the account's approval rules; the employee's approver is notified. Each call creates a new request. POST /employees/{id}/leave_requests.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Holiday (default) or OtherLeave. | |
| notes | No | Notes for the approver. | |
| end_date | Yes | Last day of leave (yyyy-mm-dd), same as start_date for one day. | |
| half_end | No | The last day is a half day (default false). | |
| half_start | No | The first day is a half day (default false). | |
| start_date | Yes | First day of leave (yyyy-mm-dd). | |
| employee_id | Yes | Breathe employee id. | |
| half_end_am_pm | No | Which half of the last day: am or pm (with half_end). | |
| half_start_am_pm | No | Which half of the first day: am or pm (with half_start). |