v1

latestOpenAPI 3.1.02026-07-2438302.6 MB

Get Timeoff Availability

get/timesheets/request/timeoff_availability

Request body

Response

200

typestring

Example response

{
  "type": "success",
  "data": [
    {
      "timeoff_availability_uid": "e8e9ea7d-dc4b-48a7-96fe-2a6ef4a6b50c",
      "year": "2022",
      "remaining_days": 11,
      "created_at": "2022-10-26T12:21:53.000Z",
      "user": {
        "user_uid": "fecc6ecd-82e7-4728-8e98-ebb038c2a34e",
        "first_name": "Sam",
        "last_name": "J",
        "email": "Sabari@zuper.co",
        "designation": "iOS Lead",
        "emp_code": "12345",
        "work_phone_number": "9626720760",
        "profile_picture": "https://s3.ap-south-1.amazonaws.com/staging.in.pro.zuper/attachments/6c287db0-ff7c-11e7-b3a8-29b417a4f3fa/7260c710-61fc-11eb-a02f-27c00cb0c514.jpeg",
        "hourly_labor_charge": 120,
        "is_active": true,
        "created_at": "2019-02-19T09:27:55.000Z",
        "updated_at": "2024-03-06T10:03:06.000Z"
      },
      "timeoff_request_type": {
        "timeoff_request_type_uid": "938d422f-683e-4e97-b869-b5a4e254a693",
        "name": "Earned Leave",
        "type": "PAID",
        "no_of_days_per_year": 12,
        "created_at": "2021-10-28T05:04:10.000Z",
        "updated_at": "2021-10-28T05:04:10.000Z"
      }
    }
  ]
}