Get Employees On Leave

This endpoint allows you to fetch a list of employees currently on approved leave within the company and filter them by specific department.

Query Params
string
required

The name of the company whose employees' leave records are being fetched.

string

The name of the department within the company (if filtering by department).

string
Defaults to department

This represents the tag identifying the department type. It can be (department, directorate, division, or unit). The default value is department.

string
Defaults to today

The date range specifying the period under consideration for fetching employees on leave (today, yesterday, this_week, last_week, next_week, this_month, last_month, or next_month). Default is today.

Responses

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