update-timeoff
Update existing time off requests by modifying dates, type, hours, or status. Approve, reject, or adjust pending time off entries with optional notes, approval details, and repeat settings.
Instructions
Update an existing time off request (including approval/rejection)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeoff_id | Yes | The time off ID | |
| people_ids | No | Array of person IDs (people_ids) - Float API expects plural field | |
| timeoff_type_id | No | The time off type ID | |
| start_date | No | Start date (YYYY-MM-DD) | |
| end_date | No | End date (YYYY-MM-DD) | |
| hours | No | Hours of time off (omit for full day) | |
| full_day | No | 1 for full day, 0 for partial day | |
| notes | No | Optional notes | |
| status | No | Status (1 for pending, 2 for approved, 3 for rejected - Float API uses numeric status codes) | |
| approved_by | No | User ID who approved | |
| approved_at | No | Approval timestamp | |
| rejected_by | No | User ID who rejected | |
| rejected_at | No | Rejection timestamp | |
| repeat_state | No | Repeat configuration | |
| repeat_end | No | End date for repeating time off (YYYY-MM-DD) |