v1

latestOpenAPI 3.0.02026-07-26550199.6 KB
contact

Get a single contact

Get contact data by id

get/contacts/{id}

Path parameters

idinteger required
Example:1

Response

Object with contact data.

idinteger required

Contact id

typestring nullable required

Contact type

namestring nullable required

Contact name

titlestring nullable required

Contact title

firstNamestring nullable required

Contact first name

lastNamestring nullable required

Contact last name

preferredNamestring nullable required

Contact preferred name

occupationstring nullable required

Contact occupation

companyNamestring nullable required

Contact company name

providerNumberstring nullable required

Contact provider number

doctorTypestring nullable required

Contact doctor type

associatedPatientIdsnumber[] nullable required

The associated patients' id in this contact

associatedInvoiceIdsnumber[] nullable required

The associated invoices' id in this contact

associatedCaseIdsnumber[] nullable required

The associated invoices' id in this contact

emailstring nullable required

Contact email

addressL1string nullable required

Contact address line 1

addressL2string nullable required

Contact address line 2

addressL3string nullable required

Contact address line 3

suburbstring nullable required

Contact city

statestring nullable required

Contact state

postalCodestring nullable required

Contact post code

countrystring nullable required

Contact country

archivedboolean nullable

Whether the contact has been archived

Example response

{
  "id": 1,
  "type": "Standard",
  "name": "Plan Manager",
  "title": "Mr.",
  "firstName": "Harry",
  "lastName": "Potter",
  "preferredName": "Harry",
  "occupation": "Contractor",
  "companyName": "splose",
  "providerNumber": "12345678",
  "doctorType": "GP",
  "email": "harry@hogwarts.edu",
  "addressL1": "123 King William Street",
  "suburb": "Adelaide",
  "state": "SA",
  "postalCode": "5000",
  "country": "Australia",
  "phoneNumbers": [
    {
      "type": "Mobile",
      "code": "+61",
      "phoneNumber": "401234567"
    }
  ]
}