Skip to main content
GET
Read a leave type by id

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})$

Abfrageparameter

locale
enum<string>
Verfügbare Optionen:
en,
de,
fr,
hu,
it,
pl,
pt,
ru,
es,
tr,
uk

Antwort

object | null

Successful response

id
string
erforderlich
name
string
erforderlich

Translated into locale when one is given and a translation exists, otherwise the stored name.

default_name
string
erforderlich

The stored name, without any translation applied.

createdAt
string
erforderlich
updatedAt
string
erforderlich
color
string
erforderlich
icon
string
erforderlich
needs_approval
boolean
erforderlich
deleted
boolean
erforderlich
deleted_at
string | null
erforderlich
deleted_by
object | null
erforderlich
maximum_absent
boolean
erforderlich
leave_unit
enum<string>
erforderlich
Verfügbare Optionen:
days,
half_days,
hours,
minutes_30,
minutes_15,
minutes_10,
minutes_5,
minutes_1
position
number
erforderlich
take_from_allowance
boolean
erforderlich
privacy_hide_leavetype
boolean
erforderlich
outlook_synchronization_show_as
enum<string>
erforderlich
Verfügbare Optionen:
free,
tentative,
busy,
oof,
workingElsewhere,
unknown
outlook_synchronization_subject
string | null
erforderlich
allowance_type
object | null
erforderlich
counts_as_leave
boolean
erforderlich
allow_representative_overlap
boolean
erforderlich