Reads all Leaves

Reads all Leaves

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
ids[]
array of strings

The leave ids to retrieve

ids[]
employee_ids[]
array of strings

The employee ids to retrieve

employee_ids[]
leave_type_id[]
array of strings

The leave type id to retrieve

leave_type_id[]
string

Valid date following the format YYYY-MM-DD

string

Valid date following the format YYYY-MM-DD

boolean

Retrieve only active leaves

boolean
required

Whether to include deleted leaves (not included by default if not specified)

boolean

Retrieve approved leaves

boolean

Retrieve pending leaves

boolean

Retrieve leave types

boolean

Retrieve leave duration

boolean

Retrieve the per-day breakdown of the leave's duration (duration_by_day_attributes)

boolean

Retrieve workable leaves

boolean

Retrieve payable leaves

string

Caps the per-day duration walk at this date. For endless leaves (finish_on = nil) it pins the walk end; for closed leaves whose finish_on sits past this date it truncates the walk. Never extends a leave past its real finish_on. Must fall inside the read window (from/to or overlaps_range_from/overlaps_range_to).

Response

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json