Devices

List Devices

GET

This endpoint returns a paginated list of all devices associated with the customer.

You can filter by the following parameters as query params:

  • page (integer) — The page number of the content returned.
  • size (integer) — The size of the page of content returned.
  • itemId (long) — Lists only devices with the provided Item ID type.
  • manufacturerId (long) — Lists only devices created by the Manufacturer ID provided.

Query parameters

itemIdintegerOptional
manufacturerIdintegerOptional
pageintegerOptional
sizeintegerOptional

Response

This endpoint returns an object
content
list of objectsOptional
The content of the page, consisting of a list of objects.
page
integerOptional
The current page number. The first page has value 1.
size
integerOptional
The current page size. Default 15, maximum 250.
total
integerOptional
The number of objects matching the request.
first
booleanOptional
True if this is the first page, false otherwise.
last
booleanOptional
True if this is the last page, false otherwise.
GET
1curl https://app.impiloplatform.com/api/v3/device \
2 -H "Impilo-API-Key: <apiKey>"
200
Retrieved
1{
2 "content": [
3 {
4 "id": 3,
5 "item": {
6 "id": 1,
7 "manufacturer": {
8 "id": 2,
9 "name": "Custom Manufacturer"
10 },
11 "name": "Blood Pressure Monitor",
12 "model": "iBloodPressureMonitor123",
13 "sku": "0000001"
14 },
15 "currentStatus": "withPatient",
16 "used": true,
17 "currentPatient": {
18 "id": 456,
19 "externalIdentifier": "external-identifier-123",
20 "firstName": "John",
21 "lastName": "Doe",
22 "dateOfBirth": "01-01-2000",
23 "email": "email@example.com",
24 "phoneNumber": "111-222-3333",
25 "archived": true,
26 "address": {
27 "lineOne": "1234 Market Street",
28 "lineTwo": "Suite 110",
29 "city": "Philadelphia",
30 "state": "PA",
31 "zipCode": "19137",
32 "country": "USA"
33 },
34 "sex": "unknown"
35 },
36 "site": {
37 "id": 1
38 },
39 "lastHealthCheck": "lastHealthCheck",
40 "deviceIdentifiers": [
41 {
42 "type": "serial",
43 "value": "abc"
44 }
45 ],
46 "deviceEvents": [
47 {}
48 ],
49 "externalIdentifier": "externalIdentifier"
50 }
51 ],
52 "page": 1,
53 "size": 15,
54 "total": 1,
55 "first": true,
56 "last": true
57}