Service
The following operations are supported. For a formal definition, please review the Service Description.
-
AddWorkoutsForAccessibleAthlete
Add workout(s) for an accessible athlete -
AddWorkoutsForAthlete
Add workout(s) for an athlete -
AuthenticateAccessibleAthlete
Login accessible athlete -
AuthenticateAccount
Login account -
CreateFreePersonalEditionAccountForAffiliate
Method to add free personal edition accounts remotely -
DeleteWorkoutsForAccessibleAthlete
Delete workouts(s) for an accessible athlete -
DeleteWorkoutsForAthlete
Delete workout(s) for an athlete -
GetAccessibleAthletes
Get accessible athletes for a user -
GetExtendedWorkoutDataForAccessibleAthlete
[OBSOLETE] Get workout with merged file data normalized into a pwx workout for any accessible athletes -
GetExtendedWorkoutsForAccessibleAthlete
Get workout with merged file data normalized into a pwx workout for any accessible athletes -
GetImportedFileHashes
Service get hashes of uploaded files. -
GetWorkoutsForAccessibleAthlete
Get workout schedule for an athlete -
GetWorkoutsForAthlete
Get workout schedule for an athlete -
ImportFileForUser
Import a file to TrainingPeaks by passing the credentials (username and password) as well as the file in a byte array. If the file cannot be understood or the login credentials are incorrect, an exception will be thrown. -
ImportFileForUserV2
Import a file to TrainingPeaks by passing the credentials (username and password) as well as the file in a byte array. If the file cannot be understood or the login credentials are incorrect, an exception will be thrown. -
ImportFileForUserV3
Import a file to TrainingPeaks by passing the credentials (username and password) as well as the file in a byte array. The hash should be a sha256 UTF8 encoded hash of the original filename. If the file cannot be understood or the login credentials are incorrect, an exception will be thrown. -
ImportFileForUserV4
Import a file to TrainingPeaks by passing the credentials (username and password) as well as the file in a byte array. The hash should be a sha256 UTF8 encoded hash of the original filename. If the file cannot be understood or the login credentials are incorrect, an exception will be thrown. -
LogAppetite
Log appetite (1=Extremely hungry, 2=Very hungry, 3=Hungry, 4=Satisfied, 5=Full, 6=Very full, 7=Extremely full) to Training Peaks by passing the credentials (username and password) -
LogBloodPressure
Log blood pressure to Training Peaks by passing the credentials (username and password) as well as the systolic and diastolic pressures -
LogFatigue
Log fatigue (1=None, 2=Very Low, 3=Low, 4=Average, 5=High, 6=Very High , 7=Extreme) to Training Peaks by passing the credentials (username and password) -
LogHoursSlept
Log hours slept to Training Peaks by passing the credentials (username and password) -
LogInjury
Log injury (1=None, 2=Extremely Injured, 3=Very Injured, 4=Injured, 5=Slightly Injured, 6=Below Average, 7=Above Average, 8=Well, 9=Healthy, 10=Very Healthy, 11=Extremely Healthy) to Training Peaks by passing the credentials (username and password) -
LogMenstruation
Log menstruation (1=None, 2=Very light, 3=Light, 4=Medium, 5=Heavy, 6=Very heavy, 7=Extreme) to Training Peaks by passing the credentials (username and password) -
LogMood
Log Mood (1=Worse than normal, 2=Normal, 3=Better than normal) to Training Peaks by passing the credentials (username and password) -
LogNotes
Log notes to Training Peaks by passing the credentials (username and password) -
LogPulse
Log pulse to Training Peaks by passing the credentials (username and password) -
LogSPO2
Log SPO2 (0 - 100) to Training Peaks by passing the credentials (username and password) -
LogSickness
Log sickness (1=Extremely sick, 2=Very sick, 3=Sick, 4=Slightly sick, 5=Healthy, 6=Very healthy, 7=Extremely healthy) to Training Peaks by passing the credentials (username and password) -
LogSkinFold
Log total skin fold (1-300) in mm to Training Peaks by passing the credentials (username and password) -
LogSleepQuality
Log sleep quality (1=Horrible, 2=Poor, 3=Bad, 4=Average, 5=Good, 6=Better, 7=Best) to Training Peaks by passing the credentials (username and password) -
LogSoreness
Log soreness (1=None, 2=Extremely Low, 3=Very Low, 4=Low, 5=Moderately Low, 6=Moderate, 7=Moderately High, 8=High, 9=Very High, 10=Extreme) to Training Peaks by passing the credentials (username and password) -
LogSteps
Log steps (1-1000000000) to Training Peaks by passing the credentials (username and password) -
LogTimeAwake
Log total time awake to Training Peaks by passing the credentials (username and password) -
LogTimeInDeepSleep
Log total time in deep sleep to Training Peaks by passing the credentials (username and password) -
LogTimeInLightSleep
Log total time in light sleep to Training Peaks by passing the credentials (username and password) -
LogTimeInREMSleep
Log total time in REM sleep to Training Peaks by passing the credentials (username and password) -
LogTimesWoken
Log times woken to Training Peaks by passing the credentials (username and password) -
LogUrineColor
Log urine color (1=Clear, 2= Light yellow, 3=Medium yellow, 4=Yellow, 5= Light orange, 6=Medium orange, 7=Orange) to Training Peaks by passing the credentials (username and password) -
LogWeight
Log weight to Training Peaks by passing the credentials (username and password) as well as the weight in kilograms -
LogWeightAndPercentBodyFat
Log weight to Training Peaks by passing the credentials (username and password) as well as the weight in kilograms and the percent body fat as float between 0 and 50 -
LogZQScore
Log ZQ Score (0 - 340) to Training Peaks by passing the credentials (username and password) -
RestwiseScore
Restwise Score (0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100) to Training Peaks by passing the credentials (username and password) -
SendEMail
Service to send email. -
ShareWorkout
Share a workout by passing the credentials(username and password) as well as the workoutid returned from ImportFileForUser call. -
UpdateWorkoutsForAthlete
Update workout(s) for an athlete -
Version
Get the current version of TPWebServices. -
YesterdaysTraining
Log Yesterday's Training (1=Worse than normal, 2=Normal, 3=Better than normal, 4=Rest Day) to Training Peaks by passing the credentials (username and password)