w2w_get_shifts
Retrieve assigned shifts from When2Work for any date range. Automatically paginates through periods over 31 days, with optional filtering by position.
Instructions
Get assigned shifts from When2Work for a date range. Supports automatic pagination for ranges over 31 days.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | End date in mm/dd/yyyy format (e.g., 01/31/2024) | |
| start_date | Yes | Start date in mm/dd/yyyy format (e.g., 01/15/2024) | |
| position_id | No | Optional: Filter by position ID |