WOSegment

Namespace: http://api.lfopen.lfconnect.com/v1/workoutpreset
XML Schema: workoutpreset.xsd

XML

Elements

name (type) min/max
occurs
description
workoutName (string) 1/1 Workout Name e.g. Weight Loss- Beginner Wks 1-4.
workoutDays (string) 1/1 Workout Days. Consist of number of days in comma separated. Format : 1 is Sun, 2 is Mon .. 7 is Sat. e.g : 2,5,7 is Monday, Thursday and Saturday.
equipment (string) 1/1 Equipment Name e.g. CrossTrainer.
unit (string) 1/1 Unit. I for imperial and M for metric.
time (double) 0/1 Workout duration in minute.
distance (double) 0/1 Workout Distance.
calories (double) 0/1 Workout Calories.
incline (double) 0/1 Workout incline.
level (double) 0/1 Workout level.
heartRate (double) 0/1 Workout heart rate.
distanceClimbed (double) 0/1 Workout distance climbed.
pace (double) 0/1 Workout pace.
initialSpeed (double) 0/1 Workout initial speed.
goal (string) 0/1 indicate which parameter is the goal. id 1 - distance id 2 - calories id 3 - pace id 4 - time id 5 - distance climbed
status (string) 0/1 Status of the Workout Segment. Possible values: N - New H - Hidden / Deleted U - Updated X - Not Existing in Workout Library
changeTimeStamp (long) 0/1
workoutParams (WOParam) 0/unbounded

JSON

property type description
workoutName workoutName (string) Workout Name e.g. Weight Loss- Beginner Wks 1-4.
workoutDays workoutDays (string) Workout Days. Consist of number of days in comma separated. Format : 1 is Sun, 2 is Mon .. 7 is Sat. e.g : 2,5,7 is Monday, Thursday and Saturday.
equipment equipment (string) Equipment Name e.g. CrossTrainer.
unit unit (string) Unit. I for imperial and M for metric.
time time (double) Workout duration in minute.
distance distance (double) Workout Distance.
calories calories (double) Workout Calories.
incline incline (double) Workout incline.
level level (double) Workout level.
heartRate heartRate (double) Workout heart rate.
distanceClimbed distanceClimbed (double) Workout distance climbed.
pace pace (double) Workout pace.
initialSpeed initialSpeed (double) Workout initial speed.
goal goal (string) indicate which parameter is the goal. id 1 - distance id 2 - calories id 3 - pace id 4 - time id 5 - distance climbed
status status (string) Status of the Workout Segment. Possible values: N - New H - Hidden / Deleted U - Updated X - Not Existing in Workout Library
changeTimeStamp changeTimeStamp (long)
workoutParams array of workoutParams (WOParam)