Creates a LeaveAsk AIpost https://api.factorialhr.com/api/2026-04-01/resources/timeoff/leavesCreates a LeaveBody Paramsemployee_idintegerrequiredThe employee id of the leaveleave_type_idintegerThe leave type iddescriptionstringThe description of the leavestart_onstringrequiredThe valid start date of the leave following the format YYYY-MM-DDfinish_onstringThe valid end date of the leave following the format YYYY-MM-DDhalf_daystringIf the leave is in: [beggining_of_day, end_of_day]start_timestringThe start time of a leavehours_amount_in_centsintegerThe hours amount in cents of a leavemedical_leave_typeintegerThe medical leave typeeffective_onstringThe effective on date of a leave following the format YYYY-MM-DDmedical_discharge_reasonstringThe medical discharge reason of a leavecolegiate_numberintegerThe colegiate number of a leavehas_previous_relapsebooleanIf the leave has previous relapsefalsetruefalserelapse_leave_idintegerThe leave relapse idrelapse_onstringThe leave relapse on date following the format YYYY-MM-DDaccident_onstringThe leave accident on date following the format YYYY-MM-DDpaternity_birth_onstringThe leave paternity birth on date following the format YYYY-MM-DDResponse 201CREATEDUpdated 3 months ago