Create workout from DTO
create_workout_from_dtoCreate a Garmin Connect workout from a complete DTO when the standard builder cannot represent its structure. Send custom workout shapes as-is; exercise names are not validated.
Instructions
Create a workout from a full Garmin DTO, for shapes the builder omits.
Sent to Garmin as given: exercise names are not checked against the catalogue here, so prefer create_strength_workout where it can express it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workout | Yes | A complete Garmin workout DTO. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | ||
| name | No | ||
| sport | No | ||
| updated | No | ||
| workout_id | Yes | ||
| description | No | ||
| schedule_id | No | Set when the workout was just scheduled: what unschedule_workout takes. | |
| scheduled_on | No | Set when the workout was just scheduled: its calendar day. | |
| estimated_duration_s | No |