Record Sleep Mat Duration Reading
Records a sleep mat duration 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.
bodyTurnOver
Number of times the subject rolled over during the recorded period.
deepSleep
Number of minutes of detected deep sleep.
duration
Duration of sleep during tracked period.
heartRate
Average heart rate per minutes during recorded period.
lightSleep
Number of minutes of detected light sleep.
readingTimestamp
The UTC timestamp at which the reading was taken.
rem
Number of minutes of detected rem sleep.
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.
bodyTurnOver
deepSleep
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
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.
lightSleep
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.
rem
respiration