Skip to content

Get doctor letter

Returns the details of a single doctor letter.

Request

GET /api/oauth/v2/resource/doctor-letters/{uuid}

HeaderValue
AuthorizationBearer {access_token}

URL parameters

ParameterTypeRequiredDescription
uuidstringYesUnique ID of the doctor letter

Response

Success (200 OK)

json
{
  "data": {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "name": "Referral letter",
    "text": "Dear colleague, I am writing to report on the patient Anna Muster...",
    "date": "2026-06-09",
    "printed": false,
    "customer": {
      "id": "f0e1d2c3-b4a5-6789-fedc-ba9876543210",
      "firstName": "Anna",
      "lastName": "Muster"
    },
    "treatingUser": {
      "id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
      "firstName": "Dr. Maria",
      "lastName": "Huber"
    },
    "receiver": {
      "title": "Dr.",
      "firstName": "Klaus",
      "lastName": "Berger",
      "institute": "Internal Medicine Specialist Practice",
      "street": "Hauptstraße 12",
      "zip": "4020",
      "city": "Linz",
      "country": "AT",
      "tel": "0732123456",
      "telCode": "+43",
      "fax": null,
      "email": "k.berger@example.at"
    }
  }
}

Response fields

FieldTypeDescription
data.idstring (UUID)Unique ID of the doctor letter
data.namestring | nullName of the doctor letter
data.textstring | nullContent of the doctor letter
data.datestring | nullDate of the doctor letter (YYYY-MM-DD)
data.printedboolean | nullWhether the letter has been printed
data.customerobject | nullAssigned patient
data.customer.idstring (UUID)Customer ID
data.customer.firstNamestringFirst name
data.customer.lastNamestringLast name
data.treatingUserobject | nullTreating user
data.treatingUser.idstring (UUID)User ID
data.treatingUser.firstNamestringFirst name
data.treatingUser.lastNamestringLast name
data.receiverobject | nullRecipient of the doctor letter
data.receiver.titlestring | nullTitle
data.receiver.firstNamestring | nullFirst name
data.receiver.lastNamestring | nullLast name
data.receiver.institutestring | nullInstitute or facility
data.receiver.streetstring | nullStreet
data.receiver.zipstring | nullPostal code
data.receiver.citystring | nullCity
data.receiver.countrystring | nullCountry (ISO 3166-1 alpha-2)
data.receiver.telstring | nullPhone number
data.receiver.telCodestring | nullPhone country code
data.receiver.faxstring | nullFax number
data.receiver.emailstring | nullEmail address
Beispiele
bash
curl -X GET "https://my.offisy.at/api/oauth/v2/resource/doctor-letters/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_foundDoctor letter not found

Offisy GmbH