Record Blood Glucose Reading

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

Headers

Impilo-API-KeystringRequired

Request

This endpoint expects an object.
glucoseintegerRequired
The blood glucose measurement value.
readingTimestampstringRequiredformat: "date-time"
The UTC timestamp at which the reading was taken.
afterMealbooleanOptional
True if the reading was taken after a meal, false otherwise.
beforeMealbooleanOptional
True if the reading was taken before a meal, false otherwise.
deviceIdlongOptional
The id of the device that took the reading.
deviceIdentifierstringOptional
The device identifier of the device 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.
patientIdlongOptional
The id of the patient that took the reading.

Response

OK
readingTimestampstringformat: "date-time"
The UTC timestamp at which the reading was taken.
afterMealboolean or null
True if the reading was taken after a meal, false otherwise.
beforeMealboolean or null
True if the reading was taken before a meal, false otherwise.
deviceobject or null
The device used to take the reading.
deviceTimeZoneOffsetinteger or null
The offset of the device's timezone from UTC in seconds. Null if unavailable.
glucoseinteger or null
The blood glucose measurement value.
glucoseUnitenum or null
Allowed values:
idlong or null
Unique identifier for the reading.
itemobject or null
The item used to take the reading.
manualboolean or null
True if the reading value was entered manually, false or null otherwise.
patientobject or null
The patient who took the reading.
patientTimeZoneOffsetinteger or null
The offset of the patient's timezone from UTC in seconds. Null if unavailable.