v1
latestSwagger 2.02026-07-13107162315.5 KBCreates a new leave/time-off schedule booking for a user over a date range.
Request body
The user ID to create leave for.
Whether to send an email notification about the leave.
Hours of leave per day.
The leave type ID (e.g. Annual Leave, Sick Leave).
Additional notes for the leave entry.
Start date of the leave period.
End date of the leave period.
Optional start time for partial-day leave.
If true, fires the scheduleseries_created webhook event to any subscribed endpoints. Defaults to false to preserve existing integration behaviour.
Response
Returns the created leave booking with assigned Series ID.
Unique identifier for the schedule series.
The Avaza account this schedule belongs to.
The user this schedule is assigned to.
Scheduled user's first name.
Scheduled user's last name.
The project this booking is for (null for leave).
Title of the associated project.
The customer company of the associated project.
Name of the customer company.
The timesheet category for this booking.
Name of the timesheet category.
The leave type ID (for leave schedule entries).
Name of the leave type.
Start date of the schedule series.
End date of the schedule series.
Hours allocated per working day.
Total hours across the entire schedule series.
Whether to include weekends and holidays in the schedule.
Additional notes on the schedule.
The task this booking is linked to, if any.
Title of the associated task.
Date and time the record was created.
Date and time the record was last updated.
User ID of the person who last updated this schedule.
Optional start time of day for the scheduled work.
Optional end time of day for the scheduled work.
Whether this booking is billable, based on project billing method and category settings.
The applicable billing rate per hour for this booking.
The applicable cost rate per hour for this booking.