workouts element
Type: | workouts |
Namespace: | http://api.lfopen.lfconnect.com/v1/workoutpreset |
XML Schema: | workoutpreset.xsd |
Example XML
<?xml version="1.0" encoding="UTF-8"?>
<workouts xmlns="http://api.lfopen.lfconnect.com/v1/workoutpreset">
<workoutSegments xmlns="">
<workoutName>...</workoutName>
<workoutDays>...</workoutDays>
<equipment>...</equipment>
<unit>...</unit>
<time>...</time>
<distance>...</distance>
<calories>...</calories>
<incline>...</incline>
<level>...</level>
<heartRate>...</heartRate>
<distanceClimbed>...</distanceClimbed>
<pace>...</pace>
<initialSpeed>...</initialSpeed>
<goal>...</goal>
<status>...</status>
<changeTimeStamp>...</changeTimeStamp>
<workoutParams>
<min>...</min>
<max>...</max>
<defaultValue>...</defaultValue>
<param>...</param>
<unit>...</unit>
</workoutParams>
<workoutParams>
<!--...-->
</workoutParams>
<!--...more "workoutParams" elements...-->
</workoutSegments>
<workoutSegments xmlns="">
<!--...-->
</workoutSegments>
<!--...more "workoutSegments" elements...-->
</workouts>
Example JSON
{
"workoutSegments" : [ {
"workoutName" : "...",
"workoutDays" : "...",
"equipment" : "...",
"unit" : "...",
"time" : ...,
"distance" : ...,
"calories" : ...,
"incline" : ...,
"level" : ...,
"heartRate" : ...,
"distanceClimbed" : ...,
"pace" : ...,
"initialSpeed" : ...,
"goal" : "...",
"status" : "...",
"changeTimeStamp" : ...,
"workoutParams" : [ {
"min" : ...,
"max" : ...,
"defaultValue" : ...,
"param" : "...",
"unit" : "..."
}, ... ]
}, ... ]
}