Premium vs Basic Athlete - TrainingPeaks/PartnersAPI GitHub Wiki
Premium vs. Basic Athlete
The Partner API works for both Premium and Basic athlete data, however there are a few endpoints and some data that is not returned for basic athletes.
Premium Athlete Restricted Endpoints
The following endpoints require the athlete to be premium. If not they will return an HTTP 403 (Forbidden)
v1/metrics/{startDate}/{endDate}
v1/metrics/{athleteId}/{startDate}/{endDate}
v2/workouts/{athleteId}/id/{workoutId}/meanmaxes
v2/workouts/{athleteId}/id/{workoutId}/timeinzones
v2/workouts/{athleteId}/id/{workoutId}/details
v2/workouts/{athleteId}/id/{workoutId}/comment
v2/workouts/plan
- must be a coach allowed to plan for the athlete or a premium athletes (Basic athlete can create workout fortoday
or in the past)
Restricted Data
The following field values are not returned (will be null) for basic athletes for any endpoint that returns workout data. They will also be ignored if they're passed into any workout PUT or POST endpoint.
- Calories
- CaloriesPlanned
- VelocityAverage
- VelocityPlanned
- VelocityMaximum
- NormalizedSpeed
- HeartRateMinimum
- HeartRateMaximum
- HeartRateAverage
- NormalizedPower
- PowerAverage
- PowerMaximum
- Energy
- EnergyPlanned
- TorqueAverage
- TorqueMaximum
- TssActual
- TssPlanned
- TssCalculationMethod
- IF
- IFPlanned
- ElevationGain
- ElevationGainPlanned
- ElevationLoss
- ElevationMinimum
- ElevationAverage
- ElevationMaximum
- TempMin
- TempAvg
- TempMax
- CadenceAverage
- CadenceMaximum
- Rpe
- Feeling
- Tags