Update a patient
Updates the fields present in the body and leaves omitted fields unchanged. Fields cannot be set to null; send an empty string to blank a text field (not dateOfBirth, where an empty or invalid value fails with 500). The owner cannot be changed here. Repeating the same request leaves the same data, but updatedAt is refreshed on every call. Returns 404 when the patient does not exist in the workspace. Patients synced from a practice-management system can be overwritten by the next sync.
Request
- Base URLhttps://vetnio.com/api/v2
- URLhttps://vetnio.com/api/v2/workspaces/{workspaceId}/patients/{patientId}
- 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.
Patient id (UUID) in this workspace. Unknown ids and ids from other workspaces return 404.
Request body
Example request
{
"name": "Bella",
"species": "Dog - Labrador Retriever",
"breed": "Labrador Retriever",
"dateOfBirth": "2018-04-12",
"gender": "Female Neutered",
"weight": "25.0 kg",
"identifier": "752098100012345",
"insurance": "Agria"
}Response
Confirmation that the patient was updated.
Example response
{
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.