Create a leave request

Creates a leave request

Body Params
integer
required

The ID of an existing employee that leave request will be created for.

integer
required

The ID of an existing leave type that the leave request will be created for. The employee must have a policy of this leave type assigned to them.

date
required

The starting date of the total duration of the leave request.

date
required

The ending date of the total duration of the leave request.

string

Details about the leave request (eg. reason for leave)

leave_request_entries
array of objects
leave_request_entries
boolean

If set to true, approvals for the leave type policy will be skipped and the leave request will be created as approved.

Response

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