GET
/
api
/
hris
/
v1
/
time-off
/
{id}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-connector-token
string
required

Path Parameters

id
string
required

Query Parameters

include_raw_data
boolean
default: false

Whether to include the original data Bindbee fetched from the third-party to produce these models.

Response

200 - application/json

The TimeOff object is used to represent all employees' Time Off entries.

id
string
required
remote_id
string | null
required

The third-party API ID of the matching object.

modified_at
string
required

This is the datetime that this object was last updated by Bindbee

employee
string | null
required

The employee requesting time off.

approver
string | null
required

The Bindbee ID of the employee with the ability to approve the time off request.

status
string | null
required

The status of this time off request.

employee_note
string | null
required

The employee note for this time off request.

units
string | null
required

The measurement that the third-party integration uses to count time requested.

amount
required

The time off quantity measured by the prescribed “units”.

request_type
string | null
required

The type of time off request.

start_time
string | null
required

The day and time of the start of the time requested off.

raw_data
object | null

This is the Raw data

end_time
string | null
default: The day and time of the end of the time requested off.