Event Object - TrainingPeaks/PartnersAPI GitHub Wiki
Event Object
Property | Type | Notes |
---|---|---|
Id | int | |
AthleteId | int | |
EventDate | DateTime | Date of the event in local time |
EventType | string | Valid EventTypes: RoadRunning, TrailRunning, TrackRunning, CrossCountry, Running, RoadCycling, MountainBiking, Cyclocross, TrackCycling, Cycling, OpenWaterSwimming, PoolSwimming, Triathlon, Xterra, Duathlon, Aquabike, Aquathon, Multisport, Regatta, Rowing, AlpineSkiing, NordicSkiing, SkiMountaineering, Snowshoe, Snow, Adventure, Obstacle, SpeedSkate, Other |
Name | string | |
Description | string | |
WorkoutIds | long[] | Contains IDs for related workouts (read-only) |
Goals | Goal[] | Contains list of Goals (read-only) |
Goal Object
Property | Type | Notes |
---|---|---|
GoalType | string | Valid GoalTypes: Distance, Place, Finish, Pr, Time, Custom |
Value | object | Value type differs based on GoalType |
Unit | string |