Link a patient to a consultation
Sets the consultation's patient. A consultation has at most one patient, so this replaces any patient already linked; the consultation then appears in that patient's history. Only the patient link changes (the owner, title and notes are untouched). Repeating the call with the same patient is harmless. Returns 404 when the consultation or the patient does not exist in the workspace and 403 when the consultation is archived. There is no unlink endpoint in the REST API.
Request
- Base URLhttps://vetnio.com/api/v2
- URLhttps://vetnio.com/api/v2/workspaces/{workspaceId}/consultations/{consultationId}/patient
- AuthHTTP bearer
Path parameters
Identifier of the workspace (clinic) that owns the patients and clients. The caller must be a member of it; patients and clients are shared by all members of the workspace.
Consultation (UUID) to link the patient to. Must be in the workspace and not archived.
Request body
Example request
{
"patientId": "f2a3b4c5-d6e7-4890-fabc-012345678901"
}Response
Confirmation that the patient is now linked to the consultation.
Example response
{
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.