latestOpenAPI 3.1.02026-08-22695252.1 KB

ef777d51e6f2

Requests

Read a request by id

Read a request by id

get/requests/{id}

Path parameters

idstring uuid required

Query parameters

locale'en' | 'de' | 'fr' | 'hu' | 'it' | 'pl' | 'pt' | 'ru' | 'es' | 'tr' | 'uk'

Response

Successful response

idstring required
createdAtstring required
updatedAtstring required
endstring required
startstring required
start_at'morning' | 'afternoon' required

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.

end_at'lunchtime' | 'end_of_day' required

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.

leave_unit'days' | 'half_days' | 'hours' | 'minutes_30' | 'minutes_15' | 'minutes_10' | 'minutes_5' | 'minutes_1' required
approval_process'Linear_all_have_to_agree' | 'Linear_one_has_to_agree' | 'Parallel_all_have_to_agree' | 'Parallel_one_has_to_agree' required
cancel_reasonstring nullable required
take_from_allowanceboolean required
reasonstring nullable required
workday_absence_durationnumber required
durationnumber required
statusstring required
canceld_datestring nullable required