Skip to content

Create Body Measurement

Request

This endpoint creates a body measurement for the user

Security
user
Bodyapplication/jsonrequired
timestampinteger, (int64)required

The timestamp of when the measurement took place in milliseconds since the epoch time. Maximum difference to the past is seven days.

Example:1672531200000
uniqueMeasurementIdstring, non-emptyrequired

Unique identifier for this measurement. The machine should generate a unique id for each measurement submitted.

dataobject, non-emptyrequired

A map of properties that define each measurement for this equipment.

curl -i -X POST \
  https://developer.egym.com/_mock/equipment/partner-api/api/v1/measurements/body \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "timestamp": 1672531200000,
    "uniqueMeasurementId": "string",
    "data": {
      "property1": 0,
      "property2": 0
    }
  }'

Responses

No Content

Response
No content