GPSWorkoutResult element
Type: | GPSWorkoutResult |
Namespace: | http://api.lfopen.lfconnect.com/v1/workoutresult |
XML Schema: | workoutresult.xsd |
Example XML
<?xml version="1.0" encoding="UTF-8"?>
<GPSWorkoutResult xmlns="http://api.lfopen.lfconnect.com/v1/workoutresult">
<distance xmlns="">...</distance>
<distanceUnit xmlns="">...</distanceUnit>
<time xmlns="">...</time>
<coordinates xmlns="">
<latitude>...</latitude>
<longitude>...</longitude>
<pauseAfter>...</pauseAfter>
<timestamp>...</timestamp>
<pace>...</pace>
<speed>...</speed>
<altitude>...</altitude>
<calories>...</calories>
</coordinates>
<coordinates xmlns="">
<!--...-->
</coordinates>
<!--...more "coordinates" elements...-->
<offSetMin xmlns="">...</offSetMin>
<calories xmlns="">...</calories>
<facebookSharing xmlns="">...</facebookSharing>
<datePerformed xmlns="">...</datePerformed>
<name xmlns="">...</name>
<description xmlns="">...</description>
<preferredUnit xmlns="">...</preferredUnit>
<fbShareMessage xmlns="">...</fbShareMessage>
</GPSWorkoutResult>
Example JSON
{
"distance" : ...,
"distanceUnit" : "...",
"time" : ...,
"coordinates" : [ {
"latitude" : ...,
"longitude" : ...,
"pauseAfter" : false,
"timestamp" : "...",
"pace" : ...,
"speed" : ...,
"altitude" : ...,
"calories" : ...
}, ... ],
"offSetMin" : ...,
"calories" : ...,
"facebookSharing" : false,
"datePerformed" : "...",
"name" : "...",
"description" : "...",
"preferredUnit" : "...",
"fbShareMessage" : "..."
}