v2

latestOpenAPI 3.0.32026-08-07222102695.9 KB
Referral Source

List referral sources

get/referral_sources

Query parameters

pageinteger
per_pageinteger
sortstring[]

Comma separated search fields. See: Ordering

[
  "created_at:desc"
]
order'asc' | 'desc'
q[]string[]

Filter result by one or more fields.

See Filtering Results

Available filters:

ValueFormat
archived_atdate-time
created_atdate-time
idint64
referral_source_type_idint64
referrer_idint64
updated_atdate-time

Response

successful operation

total_entriesinteger

Example response

{
  "referral_sources": [
    {
      "links": {
        "self": "https://api.au1.cliniko.com/v1/patients/123/referral_source"
      },
      "patient": {
        "links": {
          "self": "https://api.au1.cliniko.com/v1/patients/1"
        }
      },
      "referral_source_type": {
        "links": {
          "self": "https://api.au1.cliniko.com/v1/referral_source_types/1"
        }
      },
      "referrer": {
        "links": {
          "self": "https://api.au1.cliniko.com/v1/patients/456"
        }
      }
    }
  ],
  "total_entries": 1,
  "links": {
    "self": "https://api.au1.cliniko.com/v1/referral_sources?page=2",
    "previous": "https://api.au1.cliniko.com/v1/referral_sources?page=1",
    "next": "https://api.au1.cliniko.com/v1/referral_sources?page=3"
  }
}