POST Leave type
Changed onPermission Level: 5
post/leave-types?access_token={{token}}
Request
- Base URLhttps://www.humanity.com/api/v2
- AuthAPI key in query parameter access_token
Request body application/x-www-form-urlencoded
Response
200
Example response
{
"status": 1,
"data": {
"id": "328497",
"name": "Leave Type API TEST",
"description": "Just a regular remote work",
"allow_hourly": "1",
"max_num_of_staff_at_once": 2,
"days_booked_in_advance": 5,
"entitled": 22,
"created_at": "2017-09-24 21:23:09",
"created_by": 3475050
},
"token": "xxxxxxx"
}Changes
- info
endpoint added
- info