Provides an endpoint for the neck of the body.
Overview
Property | Type | Description |
---|---|---|
code | String | The Code of the resource |
user_code | String | The global Id of the user |
length | Number | The length of the neck in the specified unit of measure |
circumference | Number | The neck 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/neck?access_token=demo
{
"code": "5a475283-e52d-4ca7-8f5c-017db45acfd3",
"length": 8,
"user_code": "e231e984-2209-4a10-b634-2257b89c200f",
"circumference": 34.5,
"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/neck?access_token=demo -d '{
"length": 12.32,
"circumference": 30.33,
"unit": "cm"
}'