POST
/
api
/
hris
/
v1
/
time-off

Authorizations

Authorization
string
headerrequired

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

Headers

x-connector-token
string
required

Body

application/json

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

employee
string | null
required

The employee requesting time off.

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.

approver
string | null
default:

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

status
string | null
default:

The status of this time off request.

employee_note
string | null
default:

The employee note for this time off request.

units
string | null
default:

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

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

Response

201 - application/json

The response is of type any.