# Create Cardio Measurement This endpoint creates a cardio measurement for the user. See the Cardio Measurements document for the list of available measurements that can be transferred to EGYM cloud. Endpoint: POST /api/v1/measurements/cardio Version: 1.1.1 Security: user ## Request fields (application/json): - `timestamp` (integer, required) The timestamp of when the measurement took place in milliseconds since the epoch time. Example: 1553074207520 - `machineName` (string, required) The machine name of the equipment that generates the measurement. Machine name needs to be registered at EGYM. Example: "device123" - `gymId` (integer, required) The EGYM Gym Location ID. Example: 130 - `uniqueMeasurementId` (string, required) Unique identifier for this measurement. The machine should generate a unique id for each measurement submitted. Example: "f5c15c853c1e46de" - `data` (object, required) A map of properties that define each measurement for this equipment. Properties need to be registered per machineName at EGYM. ## Response 400 fields (application/json): - `timestamp` (string) The timestamp of the request. - `path` (string) The path requested. - `requestId` (string) The request ID. Example: "de625cf1-1" - `status` (integer) The http status code. - `error` (string) The error. - `message` (string) The message to describe the error. - `fieldErrors` (array) The constraint violations. - `fieldErrors.name` (string) The field name. Example: "age" - `fieldErrors.message` (string) The error message. Example: "Must be greater than 10." - `fieldErrors.rejectedValue` (object) The rejected value. Example: 3 ## Response 404 fields (application/json): - `timestamp` (string) The timestamp of the request. - `path` (string) The path requested. - `requestId` (string) The request ID. Example: "de625cf1-1" - `status` (integer) The http status code. - `error` (string) The error. - `message` (string) The message to describe the error. - `fieldErrors` (array) The constraint violations. - `fieldErrors.name` (string) The field name. Example: "age" - `fieldErrors.message` (string) The error message. Example: "Must be greater than 10." - `fieldErrors.rejectedValue` (object) The rejected value. Example: 3 ## Response 500 fields (application/json): - `timestamp` (string) The timestamp of the request. - `path` (string) The path requested. - `requestId` (string) The request ID. Example: "de625cf1-1" - `status` (integer) The http status code. - `error` (string) The error. - `message` (string) The message to describe the error. - `fieldErrors` (array) The constraint violations. - `fieldErrors.name` (string) The field name. Example: "age" - `fieldErrors.message` (string) The error message. Example: "Must be greater than 10." - `fieldErrors.rejectedValue` (object) The rejected value. Example: 3 ## Response 204 fields ## Response 401 fields