List lab results
Returns a paginated list of all lab results of the company.
Request
GET /api/oauth/v2/resource/lab-results
Header
| Header | Value |
|---|---|
Authorization | Bearer {access_token} |
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
offset | integer | No | Start position (default: 0, min: 0) |
limit | integer | No | Number of results (default: 50, min: 1, max: 200) |
Response
Success (200 OK)
json
{
"data": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "Complete blood count",
"text": "Routine check before surgery",
"resultText": "All values within normal range",
"note": "Patient arrived fasting",
"deviation": null,
"unit": null,
"normRange": null,
"warning": false,
"date": "2026-06-09",
"bloodSamplingDate": "2026-06-09",
"evidenceNumber": "LB-2026-00123",
"title": "Labor",
"shortTitle": "Lab",
"customer": {
"id": "f0e1d2c3-b4a5-6789-fedc-ba9876543210",
"firstName": "Anna",
"lastName": "Muster"
}
},
{
"id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"name": "Thyroid values",
"text": null,
"resultText": "TSH elevated",
"note": null,
"deviation": "TSH 6.2 mU/l",
"unit": "mU/l",
"normRange": "0.4 – 4.0",
"warning": true,
"date": "2026-06-07",
"bloodSamplingDate": "2026-06-07",
"evidenceNumber": "LB-2026-00121",
"title": "Labor",
"shortTitle": "Lab",
"customer": {
"id": "f0e1d2c3-b4a5-6789-fedc-ba9876543210",
"firstName": "Anna",
"lastName": "Muster"
}
}
],
"meta": {
"total": 18,
"offset": 0,
"limit": 50
}
}Response fields
| Field | Type | Description |
|---|---|---|
data | Array | List of lab results |
data[].id | string (UUID) | Unique ID of the lab result |
data[].name | string | null | Name of the lab result |
data[].text | string | null | Description text |
data[].resultText | string | null | Result text |
data[].note | string | null | Internal note |
data[].deviation | string | null | Deviation from the norm value |
data[].unit | string | null | Unit of measurement |
data[].normRange | string | null | Normal range |
data[].warning | boolean | null | Warning active |
data[].date | string | null | Date of the lab result (YYYY-MM-DD) |
data[].bloodSamplingDate | string | null | Date of blood sampling (YYYY-MM-DD) |
data[].evidenceNumber | string | null | Evidence number |
data[].title | string | Title (default: "Labor") |
data[].shortTitle | string | Short title (default: "Lab") |
data[].customer | object | null | Assigned customer |
data[].customer.id | string (UUID) | Customer ID |
data[].customer.firstName | string | Customer first name |
data[].customer.lastName | string | Customer last name |
meta.total | integer | Total number of lab results |
meta.offset | integer | Current start position |
meta.limit | integer | Number of returned entries |
Beispiele
bash
curl -X GET "https://my.offisy.at/api/oauth/v2/resource/lab-results?offset=0&limit=50" \
-H "Authorization: Bearer {access_token}"Parameter
Zuerst Token anfordern
Possible errors
| Status | Code | Description |
|---|---|---|
| 401 | invalid_client | Invalid or missing access token |
| 403 | insufficient_scope | Scope medicals not present |