v1

latestOpenAPI 3.1.02026-07-2438302.6 MB

Get Timeoff Request Type

get/timesheet/request/timeoff_type

Request body

sort'ASC' | 'DESC'
sort_by'display_order' | 'created_at'

Response

200

typestring

Example response

{
  "type": "success",
  "data": [
    {
      "timeoff_request_type_uid": "8b340e5f-0a79-44be-bd0e-dafd7792a1c9",
      "name": "Sick Leave",
      "no_of_days_per_year": 5,
      "type": "UNPAID",
      "created_at": "2021-10-28T05:04:02.000Z",
      "created_by_user": {
        "user_uid": "ab6d4ab2-19ee-4093-9995-025fa9f78273",
        "first_name": "Sesha",
        "last_name": "Madhav",
        "email": "sesha@zuper.co",
        "designation": "Tech 123",
        "emp_code": "2030303",
        "work_phone_number": "9883733222",
        "profile_picture": "https://s3.ap-south-1.amazonaws.com/prod.app.zuperpro/assets/profile_picture.jpg",
        "hourly_labor_charge": 120,
        "is_active": true,
        "created_at": "2020-05-09T04:52:02.000Z",
        "updated_at": "2024-08-18T05:56:55.000Z"
      }
    }
  ]
}