GET Leave types
Changed on/leaves Permission level: 7
get/leave-types?access_token=xxxxxxx
Request
- Base URLhttps://www.humanity.com/api/v2
- AuthAPI key in query parameter access_token
Response
200
Example response
{
"status": 1,
"data": [
{
"id": "327926",
"name": "Leave Test",
"description": "asd",
"allow_hourly": "1",
"entitled": 21,
"created_at": "2017-09-21 07:11:08",
"created_by": "3475050",
"updated_at": "2017-09-24 21:05:32",
"updated_by": "3475050"
}
],
"token": "xxxxxxx"
}Changes
- info
endpoint added
- info