Request absence
timetac_create_absenceWRITE: create an absence or leave request for a user. Each call creates a new request, so do not repeat it. type_id is the category (1 holiday, 2 overtime reduction, 3 other paid leave); subtype_id picks the leave type from timetac_list_absence_types. TimeTac API: POST absences/create.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_date | Yes | ||
| type_id | Yes | Absence category: 1 = holiday, 2 = overtime reduction, 3 = other paid leave. | |
| user_id | Yes | ||
| duration | No | Requested duration, in the unit of duration_unit. | |
| from_date | Yes | ||
| subtype_id | No | Specific leave type inside the category (for example which other paid leave). See timetac_list_absence_types. | |
| duration_unit | No | d = days, hs = hours. | |
| request_comment | No |