edit_my_vacation
Change the dates or half-day status of an existing absence by ID. Update only specified fields; use absence IDs from get_my_absences.
Instructions
Change the dates or half-day flag of one of your absences.
Only the fields you pass are changed. Get absence ids from get_my_absences. A half-day absence must cover a single day, so to book e.g. 3.5 days, shorten the absence to the full days and add the half day separately with add_my_vacation(..., half_day=True).
Args: absence_id: ID of the absence to change date_since: New start date (YYYY-MM-DD) date_until: New end date (YYYY-MM-DD) half_day: True for a half day, False for a full day
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| half_day | No | ||
| absence_id | Yes | ||
| date_since | No | ||
| date_until | No |