Health Api Overlapping Data wellness-api/dailies timeOffsetHeartRateSamples

Former Member
Former Member
For the endpoint below, I'm getting summaries which have overlapping data for the timeOffsetHeartRateSamples, and it looks very strange.
Endpoint: healthapi.garmin.com/wellness-api/rest/dailies

One summary covers a 40 hour period, then the very next summary covers an 11 hour period that overlaps with the previous. The overlapping timeOffsetHeartRateSamples data is drastically different between the overlapping periods.

Summary One:
{
"SummaryId": "xxx1",
"StartTimeInSeconds": 1530370800, /* Saturday, June 30, 2018 3:00:00 PM */
"StartTimeOffsetInSeconds": 32400, /* +9 hours = Sunday, July 1, 2018 12:00:00 AM */
...
"TimeOffsetHeartRateSamples": {
"15": 70,
...
"144000": 93 /* last sample: Monday, July 2, 2018 4:00:00 PM */
}
}


Summary Two:
{
"SummaryId": "xxx2",
"StartTimeInSeconds": 1530514800, /* Monday, July 2, 2018 7:00:00 AM */
"StartTimeOffsetInSeconds": -25200, /* -7 hours = Monday, July 2, 2018 12:00:00 AM */
"TimeOffsetHeartRateSamples": {
"15": 94, /* Monday, July 2, 2018 12:00:15 AM */
...
"42540": 112 /* last sample: Monday, July 2, 2018 11:49:00 AM */
}
}


Any ideas why this might happen? Thanks!
  • gcampbell,

    This forum specializes in the Garmin Connect IQ ecosystem and SDK. The Connect IQ SDK is used to create custom content for use on Garmin devices. For Health API questions or issues you will want to talk directly to the Garmin Health API Support team via the communication channels set up when your access to the API was granted. If we can be of any other help, please let us know.

    Thanks,
    - Coleman