Skip to content

List incoming referrals

Returns a paginated list of all incoming referrals of the company.

Request

GET /api/oauth/v2/resource/incoming-referrals

HeaderValue
AuthorizationBearer {access_token}

Query parameters

ParameterTypeRequiredDescription
offsetintegerNoStart position (default: 0, min: 0)
limitintegerNoNumber of results (default: 50, min: 1, max: 200)

Response

Success (200 OK)

json
{
  "data": [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "services": ["Physiotherapy", "Ultrasound"],
      "diagnose": "M54.5",
      "date": "2026-06-09",
      "customer": {
        "id": "f0e1d2c3-b4a5-6789-fedc-ba9876543210",
        "firstName": "Anna",
        "lastName": "Muster"
      },
      "practitioner": {
        "name": "Dr. Thomas Berger"
      }
    },
    {
      "id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "services": [],
      "diagnose": null,
      "date": "2026-06-08",
      "customer": {
        "id": "f0e1d2c3-b4a5-6789-fedc-ba9876543210",
        "firstName": "Anna",
        "lastName": "Muster"
      },
      "practitioner": {
        "name": "Dr. Claudia Steiner"
      }
    }
  ],
  "meta": {
    "total": 18,
    "offset": 0,
    "limit": 50
  }
}

Response fields

FieldTypeDescription
dataArrayList of incoming referrals
data[].idstring (UUID)Unique ID of the referral
data[].servicesarrayList of referred services
data[].diagnosestring | nullDiagnosis for the referral
data[].datestringReferral date (YYYY-MM-DD)
data[].customerobject | nullAssigned customer
data[].customer.idstring (UUID)Customer ID
data[].customer.firstNamestringCustomer first name
data[].customer.lastNamestringCustomer last name
data[].practitionerobject | nullReferring practitioner
data[].practitioner.namestringName of the referring practitioner
meta.totalintegerTotal number of referrals
meta.offsetintegerCurrent start position
meta.limitintegerNumber of returned entries
Beispiele
bash
curl -X GET "https://my.offisy.at/api/oauth/v2/resource/incoming-referrals?offset=0&limit=50" \
  -H "Authorization: Bearer {access_token}"
Parameter
Zuerst Token anfordern

Possible errors

StatusCodeDescription
401invalid_clientInvalid or missing access token
403insufficient_scopeScope medicals not present

Offisy GmbH