icu_bulk_create_manual_activities
Batch create or update manual activities (no device upload) using UPSERT on external_id. Activities without external_id are always created; existing ones with matching ID are updated.
Instructions
Batch-create manual activities (no device upload) with UPSERT on external_id.
Existing activities with a matching external_id (set by the same OAuth app) are updated; activities without an external_id are always created new.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activities_json | Yes | JSON string containing array of manual activities | |
| athlete_id | No | Athlete ID (for coaches managing multiple athletes) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |