create_absence_registration
Register an absence (vacation, sick leave) by providing the absence code ID and date. Optionally specify hours for partial days.
Instructions
Create an absence registration (e.g. vacation, sick leave). Use search_absence_codes to find the AbsenceCodeID. Registers a full day by default; specify Hours for partial days.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Date | Yes | Date of the absence, format YYYY-MM-DD | |
| Hours | No | Hours to register. If omitted, registers a full working day. | |
| Comment | No | Comment for the registration | |
| AbsenceCodeID | Yes | Absence code identifier (from search_absence_codes) |