01-14-2021 11:13
01-14-2021 11:13
Answered! Go to the Best Answer.
01-14-2021 14:34
01-14-2021 14:34
The notification your application receives represents date that the data was changed. However, we do not distinguish what information was changed. You will need to query the endpoints to get the data you need. With the information you mentioned, I would suspect you would only need to query 2 endpoints: the daily activity summary and heart rate endpoints. If you're retrieving the activity intraday step count, then you'll need to add that endpoint, too.
If a user is not syncing their device on a regular basis, or if there is a problem with the Fitbit webhook service, it is possible your application might not receive all notifications. Therefore, I would recommend keeping track of when you received the last notification. When the new notification is received, you can query for any new / updated data that is updated between the time period the 2 notifications were sent.
01-14-2021 14:34
01-14-2021 14:34
The notification your application receives represents date that the data was changed. However, we do not distinguish what information was changed. You will need to query the endpoints to get the data you need. With the information you mentioned, I would suspect you would only need to query 2 endpoints: the daily activity summary and heart rate endpoints. If you're retrieving the activity intraday step count, then you'll need to add that endpoint, too.
If a user is not syncing their device on a regular basis, or if there is a problem with the Fitbit webhook service, it is possible your application might not receive all notifications. Therefore, I would recommend keeping track of when you received the last notification. When the new notification is received, you can query for any new / updated data that is updated between the time period the 2 notifications were sent.
01-14-2021 23:07
01-14-2021 23:07
Thank you that makes sense.