Create a new leave.

Log in to see full request history
Body Params

leaveModel

createUserViewModel
object
date
required

Date of the leave.

string

Description for the leave.

string
string
int32

Number of days for which leave is requested.

ptoPolicyModel
object
double

Total days of leave.

double

Total hours of leave.

userModel
object
Headers
int32
required

The ID of the user to authenticate.

string
required

The API key of the user to authenticate.

Responses

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