latestOpenAPI 3.1.02026-08-22695252.1 KB

ef777d51e6f2

Requests

Create recurring requests

Create multiple recurring requests based on a recurrence pattern. Note: half_day='morning'/'afternoon' requires a leave type with leave_unit 'half_days' — on a full-day-only 'days' leave type it is rejected. Employment period: the series is created all-or-nothing, so a single occurrence that starts before employment_start_date or ends after employment_end_date rejects the whole series with 400 rather than skipping that occurrence. An occurrence straddling either boundary is rejected too, never truncated. The comparison is on calendar days, so both boundary dates are themselves bookable and a null boundary means open ended on that side.

post/requests/recurring

Request body

leave_type_idstring uuid required
requester_member_idstring uuid required
reasonstring
repeat'daily' | 'weekly' | 'monthly' required
intervalinteger required
fromstring required

Date/time in ISO 8601 format, e.g. 2026-06-01 (interpreted as UTC midnight) or 2026-06-01T09:00:00Z. Always include a time zone designator (Z for UTC) when sending a time of day. Localized formats such as 01.06.2026 or 06/01/2026 are misinterpreted and must not be used.

untilstring nullable required

Date/time in ISO 8601 format, e.g. 2026-06-01 (interpreted as UTC midnight) or 2026-06-01T09:00:00Z. Always include a time zone designator (Z for UTC) when sending a time of day. Localized formats such as 01.06.2026 or 06/01/2026 are misinterpreted and must not be used.

countinteger nullable required
half_day'full_day' | 'morning' | 'afternoon'
weekDaysstring nullable required
monthinteger nullable required
exDatesstring[]
filesstring[]
representative_member_idsstring[]
ignoreMaximumAbsenceboolean
admin_approval_option'approve_request_immediately' | 'go_through_the_normal_approval_process'

Response

Successful response

creatednumber required
requestIdsstring[] required
recurrenceIdstring required