Skip to end of metadata
Go to start of metadata


Create log entry for a body fat and get a response in the format requested.

Access TypeRead & Write

Resource URL

POST /<api-version>/user/-/body/log/fat.<response-format> 

api-version

The API version. Currently 1.

response-format

The response format. Currently supported response formats are json and xml for responses in JSON and XML, respectively.

Examples

POST Parameters

fat

required

Body Fat; in the format X.XX, in the unit system that corresponds to the Accept-Language header provided

date

required

Log entry date; in the format yyyy-MM-dd

time

optional

Time of the measurement; hours and minutes in the format HH:mm:ss; set to last second of the day if not provided

Authentication

Via token credentials. All authentication header parameters are required.

Request Headers

None

Response

API Response in format requested: JSON or XML.

Response body format

Note: Text within <> is a descriptive place holder for a value or repeated elements.

JSON Response

Note: Text within [] is a descriptive place holder for a value or repeated elements.

XML Response

 

Examples

JSON Response
XML Response
  • No labels