API Reference

Body Fat Goals

57 views 0

Body Fat Goals

A Body Fat Goal can be used to set a personal user goal for body fat.


Property Type Description
code String The id of the body fat measurement
user_code String The global Id of the user
fat Number The number that represents the target fat measurement
source String The source service for the measurement, where it was created
created_at Datetime with Timezone The time the measurement was created on the ZivaCare API server
updated_at Datetime with Timezone The time the measurement was updated on the ZivaCare API server


GET https://api.zivacare.com/api/v2/human/body_fat_goals?access_token=demo
  "bodyFatGoals": [
      "code": "c4b93960-f0bb-458a-bef9-2cf0298351a2",
      "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
      "fat": 75.00,
      "source": "fitbit",
      "created_at": "2016-06-01 13:03:54+00"
  "total": 1
curl -i POST -H 'Content-Type: application/json' https://api.zivacare.com/api/v2/human/body_fat_goals?access_token=demo -d '{        
  "source": "fitbit",
  "fat": 70.00
curl -i PUT -H 'Content-Type: application/json' https://api.zivacare.com/api/v2/human/body_fat_goals/c4b93960-f0bb-458a-bef9-2cf0298351a2?access_token=demo -d '{ 
  "source": "fitbit",
  "fat": 80.00

Was this helpful?

By continuing to use the site, you agree to the use of cookies. More information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.