Add Time Off Record

Allow customer to add time off record for user.

Before you add new time off record:

  • The applicant must have this leave type in the country.

  • There must be no existing time record for the requested period.

  • start_date_day_type & end_date_day_type: Full/First Half/Second Half

  • decision: Approve/Reject

  • unit_type: Days/Hours

post

Authentication: required

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
customer_idstringOptional
emailstringOptional
leave_type_namestringOptional
leave_type_countrystringOptional
langstringOptional
start_datestring · date | nullableOptional
end_datestring · date | nullableOptional
start_date_day_typestringOptionalDefault: Full
end_date_day_typestringOptionalDefault: Full
notesstringOptional
decisionstringOptional
decision_timenumber · timestamptz | nullableOptional
reject_notesstringOptional
unit_typestringOptionalDefault: Days
total_hoursnumberOptional
filesstring · binary[] | nullableOptional
Responses
chevron-right
200

Success!

application/json
post
/add-ee-time-off

Last updated