Record Sleep Mat Activity Reading
Records a sleep mat activity reading based on the provided request. Either a device ID, device identifier, or patient ID is required.
Headers
Impilo-API-Key
Request
This endpoint expects an object.
bedTime
List of times sleep started during the period.
bodyTurnOver
Number of times the subject rolled over during the recorded period.
duration
Duration of sleep during tracked period.
getUpTime
List of times sleep was disrupted due to subject getting up during the period.
heartRate
Average heart rate per minutes during recorded period.
readingTimestamp
The UTC timestamp at which the reading was taken.
respiration
Respiratory rate per minute during sleep.
deviceId
The id of the device that took the reading.
deviceIdentifier
The device identifier of the device that took the reading.
deviceTimeZoneOffset
The offset of the device's timezone from UTC in seconds. Null if unavailable.
manual
True if the reading value was entered manually, false or null otherwise.
patientId
The id of the patient that took the reading.
Response
OK
readingTimestamp
The UTC timestamp at which the reading was taken.
bedTime
bodyTurnOver
device
A device is an instance of an item. Impilo creates device records for items that are serialized, i.e., items where each individual unit is identified by a serial number, IMEI, or other identifier.
deviceTimeZoneOffset
The offset of the device's timezone from UTC in seconds. Null if unavailable.
duration
getUpTime
heartRate
id
Unique identifier for the reading.
item
An item is any of the supplies handled by Impilo. Examples include medical devices like a blood pressure monitor or weight scale, but the term ‘item’ also refers to non-medical supplies like AAA batteries and package inserts. A customer catalog is a subset of all items supported by Impilo. This is set during onboarding and may be modified by your account manager at any time. A customer may view the items in their catalog.
manual
True if the reading value was entered manually, false or null otherwise.
patient
The Patient resource represents a patient in the Impilo system. It includes personal information, contact details, and enrollment status.
patientTimeZoneOffset
The offset of the patient's timezone from UTC in seconds. Null if unavailable.
respiration