Skip to content

Get lab result

Returns the details of a single lab result.

Request

GET /api/oauth/v2/resource/lab-results/{uuid}

HeaderValue
AuthorizationBearer {access_token}

URL parameters

ParameterTypeRequiredDescription
uuidstringYesUnique ID of the lab result

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"
    }
  }
}

Response fields

FieldTypeDescription
data.idstring (UUID)Unique ID of the lab result
data.namestring | nullName of the lab result
data.textstring | nullDescription text
data.resultTextstring | nullResult text
data.notestring | nullInternal note
data.deviationstring | nullDeviation from the norm value
data.unitstring | nullUnit of measurement
data.normRangestring | nullNormal range
data.warningboolean | nullWarning active
data.datestring | nullDate of the lab result (YYYY-MM-DD)
data.bloodSamplingDatestring | nullDate of blood sampling (YYYY-MM-DD)
data.evidenceNumberstring | nullEvidence number
data.titlestringTitle (default: "Labor")
data.shortTitlestringShort title (default: "Lab")
data.customerobject | nullAssigned customer
data.customer.idstring (UUID)Customer ID
data.customer.firstNamestringCustomer first name
data.customer.lastNamestringCustomer last name
Beispiele
bash
curl -X GET "https://my.offisy.at/api/oauth/v2/resource/lab-results/b2c3d4e5-f6a7-8901-bcde-f01234567890" \
  -H "Authorization: Bearer {access_token}"
Parameter
Zuerst Token anfordern

Possible errors

StatusCodeDescription
401invalid_clientInvalid or missing access token
403insufficient_scopeScope medicals not present
404not_foundLab result not found

Offisy GmbH