PUT Leave

/leaves/:id
Permission Level: 5

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Updates an individual vacation.

Path Params
int32
required

Leave ID

Form Data
int32

Custom unique identifier of a leave request.

string

Start date of a requested leave

string

End date of a requested leave

string

Start time of a requested leave

string

End time of a requested leave

string

Comments which an employee can send at the time of requesting

string

Additional string field for holding notes.

int32

enum[0, 1, -1, -2]. 0 - Pending for approval, 1 - Approved, -1 - Rejected, -2 - Employee cancelled request

int32

enum[0, 1]

string

Notes that approver can add during approving or rejecting a leave request.

int32

Number of days to deduct from total requested days

Responses

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