GET Leave types

Changed on

/leaves Permission level: 7

get/leave-types?access_token=xxxxxxx

Request

  • Base URL
    https://www.humanity.com/api/v2
  • Auth
    API key in query parameter access_token

Response

200

statusinteger
tokenstring
errorunknown

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