create-timeoff
Submit a time off request for one or more employees by providing their IDs, date range, and time off type. Optionally include hours, notes, and status.
Instructions
Create a new time off request
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| people_ids | Yes | Array of person IDs (people_ids) - Float API expects plural field | |
| timeoff_type_id | Yes | The time off type ID | |
| start_date | Yes | Start date (YYYY-MM-DD) | |
| end_date | Yes | 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) | |
| repeat_state | No | Repeat configuration | |
| repeat_end | No | End date for repeating time off (YYYY-MM-DD) |