Skip to end of metadata
Go to start of metadata


Create log entry for a heart rate measurement and get a response in the format requested.

Access Type: Read & Write

Resource URL

POST /<api-version>/user/-/heart.<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

tracker

required

Heart rate tracker name; predefined ("Resting Heart Rate", "Normal Heart Rate", "Exertive Heart Rate") or custom tracker name (matches tracker name on the website)

heartRate

required

Heart rate measurement

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

Note, if there is no tracker with the name provided, it will be created before logging the measurement.

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