Orders

List Orders

GET

Query parameters

pageintegerOptional
sizeintegerOptional
patientIdintegerOptional

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/order \
2 -H "Impilo-API-Key: <apiKey>"
200Retrieved
1{
2 "content": [
3 {
4 "id": 1,
5 "externalOrderIds": [
6 "externalOrderIds"
7 ],
8 "patient": {
9 "id": 1,
10 "externalIdentifier": "1234abcd",
11 "firstName": "John",
12 "lastName": "Doe",
13 "dateOfBirth": "1980-01-01",
14 "email": "john.doe@example.com",
15 "phoneNumber": "+1234567890",
16 "archived": true,
17 "sex": "female"
18 },
19 "site": {
20 "id": 1
21 },
22 "currentStatus": "reconfirmAddress",
23 "orderItems": [
24 {}
25 ],
26 "orderKits": [
27 {}
28 ],
29 "orderEvents": [
30 {}
31 ],
32 "trackingNumbers": [
33 {}
34 ],
35 "devices": [
36 {
37 "id": 1
38 }
39 ],
40 "packedKits": [
41 {}
42 ]
43 }
44 ],
45 "page": 1,
46 "size": 1,
47 "total": 1,
48 "first": true,
49 "last": true
50}