API Reference

Torso

52 views 0

Provides an endpoint for the torso of the body.

Overview

Property Type Description
code String The Code of the resource
user_code String The global Id of the user
chest_circumference Number The torso chest circumference in the specified unit of measure
abdominal_circumference Number The torso abdominal circumference in the specified unit of measure
created_at Datetime with Timezone The time the activity was created on the ZivaCare API server
updated_at Datetime with Timezone The time the activity was updated on the ZivaCare API server
unit String The unit of the measurement value. See Unit System.

Example

GET https://api.zivacare.com/api/v2/body/torso?access_token=demo
{
  "code": "408495d3-43e8-4d06-9046-d5bbf984fc29",
  "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
  "chest_circumference": 111.7,
  "abdominal_circumference": 95.7,
  "created_at": "2015-07-03 11:50:56+00",
  "updated_at": "2016-05-17 16:38:17.688193+00",
  "unit": "cm"
}
curl -X PUT -H "Content-Type: application/json" https://api.zivacare.com/api/v2/body/torso?access_token=demo -d '{                            
  "chest_circumference": 120.3,
  "abdominal_circumference": 96.5,
  "unit": "cm"
}'

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.

Close