01-17-2020 14:35
01-17-2020 14:35
I'm investigating an issue where a user's pace data (distance/time) isn't available in the TCX download of a treadmill run. I've attached links to the json activity list summary data below and also to the TCX file.
I have 2 questions:
(request url)
https://api.fitbit.com/1/user/-/activities/28140577058.tcx?includePartialTCX=true
https://www.dropbox.com/s/vt0376qfkf8ilz0/28140577058.json?dl=0
https://www.dropbox.com/s/vbeezxldxhpytiv/28140577058.tcx?dl=0
Thanks,
Chris
(smashrun)
(smashrun)
01-22-2020 17:35
01-22-2020 17:35
Hi @smashrun,
From my understanding, your pace is only associated with activities tracked with GPS, which is why you're not able to pull this data from a Treadmill activity.
The only indication that I know of, that you can use to determine whether or not an activity will have pace details is if you query the Get Activity Logs List endpoint and search for the "logType" element. If logType=mobile_run, then this is a GPS activity with pace details present. If anything other than mobile_run, pace will not be present, such as the following:
I hope this helps. Please let me know if you have any additional questions.