schedule_week
Batch-schedule a week of Garmin workouts in one call, skip dates already scheduled, and continue when an entry fails.
Instructions
Schedule a list of workouts for the week in a single call.
Idempotent: if a workout is already scheduled for that date, it is reported as already scheduled and the POST is skipped (avoids duplicating calendar entries).
A bad entry is reported and the rest of the batch continues; nothing aborts the whole week.
Args: week: List of dicts with keys: calendar_date (YYYY-MM-DD) and workout_id (int). The key is calendar_date, matching schedule_workout and schedule_workouts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| week | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |