v1

latestOpenAPI 3.0.02026-07-14132334.4 KB

This endpoint is responsible for adding absence data for the company employees.

post/company/time-offs

Request body

commentstring

Optional comment

employee_idinteger required

Employee identifier

end_datestring date required

Absence end date as YYYY-MM-DD

half_day_endboolean required

Weather the end date is a half-day off

half_day_startboolean required

Weather the start date is a half-day off

start_datestring date required

Absence start date as YYYY-MM-DD

time_off_type_idinteger required

Time-off type identifier

Response

The absence period was created successfully