GET
/
leave_types
/
{id}

Authorizations

X-API-KEY
string
headerrequired

Path Parameters

id
string
required

Response

200 - application/json
id
string
required
name
string
required
createdAt
string
required
updatedAt
string
required
color
string
required
icon
string
required
needs_approval
boolean
required
deleted
boolean
required
deleted_at
string | null
required
deleted_by
object | null
required
maximum_absent
boolean
required
leave_unit
enum<string>
required
Available options:
days,
half_days,
hours,
minutes_30,
minutes_15,
minutes_10,
minutes_5,
minutes_1
position
number
required
take_from_allowance
boolean
required
privacy_hide_leavetype
boolean
required
outlook_synchronization_show_as
enum<string>
required
Available options:
free,
tentative,
busy,
oof,
workingElsewhere,
unknown
outlook_synchronization_subject
string | null
required
allowance_type
object | null
required