Skip to main content
POST
Create a patient client relationship

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
clinic_client_id
integer
required

The ID of the clinic client.

clinic_patient_id
integer
required

The ID of the clinic patient.

relationship_kind
enum<string>
default:OWNER

The kind of relationship. Defaults to OWNER.

Available options:
OWNER

Response

201 - application/json

Created

A relationship between a clinic client (pet owner) and a clinic patient (pet).

clinic_client_id
integer
required

The ID of the clinic client in this relationship.

clinic_id
integer
required

The ID of the clinic this relationship belongs to.

clinic_patient_id
integer
required

The ID of the clinic patient in this relationship.

created
string<date-time>
required

The datetime this object was created.

deleted
string<date-time> | null
required

The datetime this record was soft deleted.

id
integer
required
is_active
boolean
required

Whether this relationship is currently active.

is_deleted
boolean
required

Whether this record is soft deleted or not.

modified
string<date-time>
required

The datetime this object was last modified; changes to related entities will not update this field.

relationship_kind
enum<string>
required
Available options:
OWNER