post https://example.com/measurement/v1/measurements/bulk
Save measurements in bulk
Data sent in this manner cannot be monitored via the patient live observation window. The historical view is not affected.
The session must be created before calling this API. This is done with the create or start session APIs.
(*)This parameter is mandatory only if its optional parent attribute is defined. Click here for more information.
Request Body Parameters:
Parameter | Type | Mandatory | Description | Example |
---|---|---|---|---|
measures | array | false | List of measurement to be written to the DB | |
measures[index] | array | false | List of measurement to be written to the DB | |
measures[index].metadata | object | false | ||
measures[index].metadata.timestamp | string | true(*) | A UTC date-time in the ISO-8601 format | 2007-12-20T10:15:30Z |
measures[index].metadata.deviceId | string | false | The device id that sent the measurement | device12345 |
measures[index].metadata.patientId | string | false | The patient id that the measurement belongs to | 3fa85f64-5717-4562-b3fc-2c963f66afa6 |
measures[index].metadata.sessionId | string | false | The session id that the measurement belongs to | 6b52af6e-92c8-4827-aaf2-d8805586ab5f |
measures[index].data | object | false |
This API requires PROTECTED_API permission(s).