Skip to main content
POST
Change a request

Autorisierungen

X-API-KEY
string
header
erforderlich

Pfadparameter

id
string<uuid>
erforderlich
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Body

application/json
reason
string | null
start
string

Start/end of the request in ISO 8601. For day-based leave types (leave_unit: days) send the date at midnight UTC (e.g. 2026-06-01T00:00:00Z) and use start_at / end_at to set half-days. For hour-based leave types include the exact time of day (e.g. 2026-06-01T09:00:00Z); start_at / end_at are then ignored.

end
string

Start/end of the request in ISO 8601. For day-based leave types (leave_unit: days) send the date at midnight UTC (e.g. 2026-06-01T00:00:00Z) and use start_at / end_at to set half-days. For hour-based leave types include the exact time of day (e.g. 2026-06-01T09:00:00Z); start_at / end_at are then ignored.

start_at
enum<string>

For day-based leave types: whether the absence starts in the morning (the whole first day counts) or afternoon (only the second half of the first day). Ignored for hour-based leave types.

Verfügbare Optionen:
morning,
afternoon
end_at
enum<string>

For day-based leave types: whether the absence ends at lunchtime (only the first half of the last day) or end_of_day (the whole last day counts). Ignored for hour-based leave types.

Verfügbare Optionen:
lunchtime,
end_of_day
admin_approval_option
enum<string>
Verfügbare Optionen:
approve_request_immediately,
go_through_the_normal_approval_process

Antwort

Successful response

id
integer
erforderlich
Erforderlicher Bereich: -9007199254740991 <= x <= 9007199254740991
revision
integer
erforderlich
Erforderlicher Bereich: -9007199254740991 <= x <= 9007199254740991
kind
enum<string>
erforderlich
Verfügbare Optionen:
reason,
shortened,
extended,
moved,
leave_type
status
enum<string>
erforderlich
Verfügbare Optionen:
pending,
approved,
declined,
withdrawn,
applied
previous
object
erforderlich

The request as it was before this change.

proposed
object
erforderlich

The request as this change wants it. For applied and approved changes this is what is in force.

changed_by
object | null
erforderlich
decided_by
object | null
erforderlich
created_at
string
erforderlich
decided_at
string | null
erforderlich
decision_reason
string | null
erforderlich