Returns a TimeOff object with the given id.
cURL
curl --request GET \ --url https://api.bindbee.dev/api/hris/v1/time-off/{id} \ --header 'Authorization: Bearer <token>' \ --header 'x-connector-token: <x-connector-token>'
{ "id": "018b18ef-c487-703c-afd9-0ca478ccd9d6", "remote_id": "123321", "modified_at": "2021-10-16T00:00:00Z", "raw_data": { "key_1": "Platform dependent data 1", "key_2": "Platform dependent data 2" }, "custom_fields": { "category_group": "REG", "disability_type": "ASBERG", "hire_date": "1991-03-16T00:00:00", "hire_source": "REFER", "nationality": "USA", "original_hire_date": "1991-03-16T00:00:00" }, "employee": "<any>", "approver": "<any>", "status": "APPROVED", "employee_note": "Paid paid vacation! Scuba diving in Hawaii.", "units": "HOURS", "amount": 12, "request_type": "VACATION", "start_time": "2023-04-10T00:00:00Z", "end_time": "2023-04-10T00:00:00Z" }
Was this page helpful?