12-03-2015 20:34
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

12-03-2015 20:34
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
In the proces of upgrading the app using the latest API and I noticed a small typo in your documentation
https://dev.fitbit.com/docs/body/#get-weight-logs
For retrieving weight it says:
GET https://api.fitbit.com/1/user/[user-id]/body/log/weight/[base-date]/[end-date].json
this should be (the date is missing!)
GET https://api.fitbit.com/1/user/[user-id]/body/log/weight/date/[base-date]/[end-date].json
Also in your documentation you say "date The date in the format YYYY-mm-dd."
It should be "date The date in the format yyyy-MM-dd."
Small mistakes but crucial to get it to work.
cheers Peter
Answered! Go to the Best Answer.

Accepted Solutions
12-04-2015 18:18
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


12-04-2015 18:18
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Thanks for pointing this out! We've updated the docs accordingly.

12-04-2015 18:18
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


12-04-2015 18:18
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Thanks for pointing this out! We've updated the docs accordingly.

01-25-2018 21:43
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

01-25-2018 21:43
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi, I am using this api, but I understand the end-date should be in form 1m, 3m, 1y etc, but only 1m works?

01-30-2018 00:19
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

01-30-2018 00:19
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
This still dont work?
I used: https://api.fitbit.com/1/user/-/body/log/weight/date/2018-01-30/2018-01-01.json
and it fails, the only version that works is:
https://api.fitbit.com/1/user/-/body/log/weight/date/2018-01-30/1m.json
- and even trying to use 3m etc does not work!

01-31-2018 16:54
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



01-31-2018 16:54
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
@2mR the url seems incorrect to me
https://api.fitbit.com/1/user/-/body/log/weight/date/2018-01-30/2018-01-01.json
in this url
start date: 2018-01-30
end date: 2018-01-01
which kind-a makes no sense.

01-31-2018 22:15
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

01-31-2018 22:15
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
best re
Tom
Tjuvholmen alle 21
0252 Oslo, Norway
Tel +47 98 20 48 85
https://rojahn.no
"Det er ikke greit å forstå hvor skoen trykker for den som ikke har den på”
Peer Gynt

02-08-2018 15:42
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



02-08-2018 15:42
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
the only supported formats are: 1d,7d,1w,1m.
When you enter start date and end date, the difference between start date and end date can't be more than 31 days. Please see more details at our documentation here: https://dev.fitbit.com/build/reference/web-api/body/

02-10-2018 08:37
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

02-10-2018 08:37
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Tjuvholmen alle 21
0252 Oslo, Norway
Tel +47 98 20 48 85
https://rojahn.no
"Det er ikke greit å forstå hvor skoen trykker for den som ikke har den på”
Peer Gynt

