Record Blood Glucose Reading

POST

Records a blood glucose reading based on the provided request. Either a device ID, device identifier, or patient ID is required.


For more information see the BloodGlucoseReadingRequest Model.

Request

This endpoint expects an object.
readingTimestampdatetimeRequired

The UTC timestamp at which the reading was taken.

glucoseintegerRequired

The blood glucose measurement value.

deviceIdlongOptional

The id of the device that took the reading.

deviceIdentifierstringOptional

The device identifier of the device that took the reading.

patientIdlongOptional

The id of the patient that took the reading.

deviceTimeZoneOffsetintegerOptional

The offset of the device’s timezone from UTC in seconds. Null if unavailable.

manualbooleanOptional

True if the reading value was entered manually, false or null otherwise.

beforeMealbooleanOptional

True if the reading was taken before a meal, false otherwise.

afterMealbooleanOptional

True if the reading was taken after a meal, false otherwise.

Response

This endpoint returns an object.
readingTimestampdatetime

The UTC timestamp at which the reading was taken.

idlongOptional

Unique identifier for the reading.

manualbooleanOptional

True if the reading value was entered manually, false or null otherwise.

deviceTimeZoneOffsetintegerOptional

The offset of the device’s timezone from UTC in seconds. Null if unavailable.

patientTimeZoneOffsetintegerOptional

The offset of the patient’s timezone from UTC in seconds. Null if unavailable.

patientobjectOptional

The patient who took the reading.

itemobjectOptional

The item used to take the reading.

deviceobjectOptional

The device used to take the reading.

glucoseintegerOptional

The blood glucose measurement value.

glucoseUnit"mgdl"Optional
Allowed values: mgdl
beforeMealbooleanOptional

True if the reading was taken before a meal, false otherwise.

afterMealbooleanOptional

True if the reading was taken after a meal, false otherwise.