Get supportRequest a Demo
  • Get Started
    • Welcome
  • Guides
    • Authentication
    • Patient Management
    • Order Management
    • Device Management
    • Webhook Management
  • Webhooks
  • API Reference
  • Resources
    • OpenAPI Spec
    • Mobile SDK
LogoLogo
Get supportRequest a Demo
API ReferenceReadings Sleep Mat Duration

GET
/api/v3/sleep-mat-duration-reading/:readingId
GET
/api/v3/sleep-mat-duration-reading/:readingId
1curl https://app.impiloplatform.com/api/v3/sleep-mat-duration-reading/42 \
2 -H "Impilo-API-Key: <Impilo-API-Key>"
Try it
200example
1{
2 "readingTimestamp": "2024-07-04T00:00:00Z",
3 "bodyTurnOver": 5,
4 "deepSleep": 300,
5 "device": {
6 "currentPatient": {
7 "firstName": "John",
8 "lastName": "Doe",
9 "address": {
10 "city": "Philadelphia",
11 "country": "USA",
12 "lineOne": "1234 Market Street",
13 "state": "PA",
14 "zipCode": "19137",
15 "lineTwo": "Suite 110"
16 },
17 "dateOfBirth": "1987-09-13",
18 "email": "email@example.com",
19 "externalIdentifier": "external-identifier-123",
20 "id": 456,
21 "phoneNumber": "111-222-3333",
22 "sex": "unknown"
23 },
24 "currentStatus": "withPatient",
25 "deviceEvents": [],
26 "deviceIdentifiers": [
27 {
28 "type": "imei",
29 "value": "354833969951611"
30 },
31 {
32 "type": "serial",
33 "value": "A44-A0623930"
34 },
35 {
36 "type": "macAddress",
37 "value": "f51da43314fc"
38 }
39 ],
40 "disabledReadings": false,
41 "id": 599,
42 "item": {
43 "id": 791,
44 "manufacturer": {
45 "id": 2,
46 "name": "Custom Manufacturer"
47 },
48 "model": "iBloodPressureMonitor123",
49 "name": "Blood Pressure Monitor",
50 "sku": "0000001"
51 }
52 },
53 "deviceTimeZoneOffset": 0,
54 "duration": "20:00~00:00",
55 "heartRate": 60,
56 "id": 42,
57 "item": {
58 "id": 791,
59 "manufacturer": {
60 "id": 2,
61 "name": "Custom Manufacturer"
62 },
63 "model": "iBloodPressureMonitor123",
64 "name": "Blood Pressure Monitor",
65 "sku": "0000001"
66 },
67 "lightSleep": 155,
68 "manual": false,
69 "patient": {
70 "firstName": "John",
71 "lastName": "Doe",
72 "address": {
73 "city": "Philadelphia",
74 "country": "USA",
75 "lineOne": "1234 Market Street",
76 "state": "PA",
77 "zipCode": "19137",
78 "lineTwo": "Suite 110"
79 },
80 "dateOfBirth": "1987-09-13",
81 "email": "email@example.com",
82 "externalIdentifier": "external-identifier-123",
83 "id": 456,
84 "phoneNumber": "111-222-3333",
85 "sex": "unknown"
86 },
87 "patientTimeZoneOffset": 0,
88 "rem": 20,
89 "respiration": 10
90}
Was this page helpful?
Previous

List Sleep Mat Duration Readings

Next
Built with
Fetches a specific sleep mat duration reading by its ID.
Fetch Sleep Mat Duration Reading

Authentication

Impilo-API-Keystring
API Key authentication via header

Path Parameters

readingIdlongRequired

Response

OK
readingTimestampstringformat: "date-time"
The UTC timestamp at which the reading was taken.
bodyTurnOverinteger or null
deepSleepinteger or null
deviceobject or null
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.
deviceTimeZoneOffsetinteger or null
The offset of the device's timezone from UTC in seconds. Null if unavailable.
durationstring or null
heartRateinteger or null
idlong or null
Unique identifier for the reading.
itemobject or null
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.
lightSleepinteger or null
manualboolean or null
True if the reading value was entered manually, false or null otherwise.
patientobject or null
The Patient resource represents a patient in the Impilo system. It includes personal information, contact details, and enrollment status.
patientTimeZoneOffsetinteger or null
The offset of the patient's timezone from UTC in seconds. Null if unavailable.
reminteger or null
respirationinteger or null

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.