| Parameter |
Values |
Description |
| id |
string (read only) |
The workout's ID. This is a read only property. It is ignored during
the save operation. The workout's ID is determined by the REST endpoint. |
| date |
Date (required) |
The workout's date. |
| time |
Time |
The time of day of the workout. |
| activityName |
string (read only) |
The workout's activity name. It is ignored during the save operation. |
| activityID |
integer (required) |
The workout's activity ID. Whens creating a new workout, you can obtain
a list of the user's activity IDs by invoking
List Activities. |
| workoutName |
string (read only) |
The workout's workout type. When saving the workout, if you specify
a new workout type, it will be created automatically for you. You
can get a list of existing workout types by invoking
List Activities. |
| workoutID |
integer |
The workout's workout ID. When saving the workout, the use of workout
ID is preferred over workoutType when saving a workout of existing
workout type. |
| course |
Course |
The course associated with the workout. You can obtain a list of
course by invoking List Courses.
When saving the workout, only the course's id property will be used. |
| details |
WorkoutDetails |
The workout's details. More metrics will be added in the future. |
| equipment |
Equipment[] |
The list of equipment associated with the workout. You can obtain a list of
equipment by invoking
List Equipment.
When saving the workout, only the equipment's id property will be used.
The API currently supports 1 piece of equipment per workout. A future
release will allow you to associate multiple equipment with each workout.
|
| health |
Health |
The workout's health data. |
| weather |
Weather |
The workout's weather data. |
| notes |
string |
The workout's notes. |
| ratings |
Ratings |
User's rating on various aspects of the workout. |
| url |
string (readonly) |
This workout's url on RunningAHEAD.com. |
| extUrl |
string |
An optional URL to be associated with this workout (e.g. if the workout is a race, the race website). |