Create a Time-OffAsk AIpost https://api.personio.de/v1/company/time-offsAdds absence data for absence types with time unit set to days.Form DataAbsence dataemployee_idintegerrequiredEmployee identifiertime_off_type_idintegerrequiredTime-off type identifierstart_datedaterequiredAbsence start date. Format: yyyy-mm-ddend_datedaterequiredAbsence end date. Format: yyyy-mm-ddhalf_day_startbooleanrequiredWhether the start date is a half-day off.truefalsehalf_day_endbooleanrequiredWhether the end date is a half-day off.truefalsecommentstringOptional commentskip_approvalbooleanOptional, default value is true. If set to false, the approval status of the absence request will be "pending" if an approval rule is set for the absence type in Personio. The respective approval flow will be triggered.falsetruefalseHeadersX-Personio-Partner-IDstringThe partner identifierX-Personio-App-IDstringThe application identifierResponses 200The absence period is successfully created 400Invalid request 404Employee or Absence type not found 422Validation errorUpdated 7 months ago