# Replace consult Fully replaces an existing Consult. All fields must be provided. Endpoint: PUT /site/{siteId}/ahds/v1/consult/{consultId} Version: 1.0 Security: bearer ## Path parameters: - `siteId` (number, required) Site identifier - `consultId` (string, required) Consult unique identifier (UUID) ## Request fields (application/json): - `animalId` (string, required) Identifier of the animal this consult is for. Example: "123e4567-e89b-12d3-a456-426614174000" - `code` (string, required) Practice-specific consult code or short identifier. - `consultedAt` (string, required) Date and time when the consult occurred or is scheduled. Example: "2025-01-01T00:00:00.000Z" - `description` (string, required) Free-text description or summary of the consult. - `extensions` (object, required) Vendor- or practice-specific extensions. - `isActive` (boolean, required) Whether the consult is currently active/open. - `ownershipId` (string, required) Identifier for the ownership context (e.g., client account or business unit). Example: "123e4567-e89b-12d3-a456-426614174000" - `presentingProblems` (array, required) List of presenting problems associated with this consult. - `presentingProblems.presentingProblemId` (string, required) Identifier of the presenting problem. Example: "123e4567-e89b-12d3-a456-426614174000" - `referringClinicId` (string, required) Identifier of the referring clinic, if any. Example: "123e4567-e89b-12d3-a456-426614174000" - `referringVetContactId` (string, required) Identifier of the referring veterinarian contact, if any. Example: "123e4567-e89b-12d3-a456-426614174000" - `vetId` (string, required) Identifier of the primary veterinarian responsible for the consult. Example: "123e4567-e89b-12d3-a456-426614174000" ## Response 200 fields (application/json): - `animalId` (string, required) Identifier of the animal this consult is for. Example: "123e4567-e89b-12d3-a456-426614174000" - `code` (string, required) Practice-specific consult code or short identifier. - `consultedAt` (string, required) Date and time when the consult occurred or is scheduled. Example: "2025-01-01T00:00:00.000Z" - `consultId` (string, required) Canonical identifier for the consult. Example: "123e4567-e89b-12d3-a456-426614174000" - `createdAt` (string, required) Timestamp when the consult was created. Example: "2025-01-01T00:00:00.000Z" - `description` (string, required) Free-text description or summary of the consult. - `extensions` (object, required) Vendor- or practice-specific extensions. - `isActive` (boolean, required) Whether the consult is currently active/open. - `ownershipId` (string, required) Identifier for the ownership context (e.g., client account or business unit). Example: "123e4567-e89b-12d3-a456-426614174000" - `presentingProblems` (array, required) List of presenting problems associated with this consult. - `presentingProblems.presentingProblemId` (string, required) Identifier of the presenting problem. Example: "123e4567-e89b-12d3-a456-426614174000" - `referringClinicId` (string, required) Identifier of the referring clinic, if any. Example: "123e4567-e89b-12d3-a456-426614174000" - `referringVetContactId` (string, required) Identifier of the referring veterinarian contact, if any. Example: "123e4567-e89b-12d3-a456-426614174000" - `updatedAt` (string, required) Timestamp when the consult was last modified. Example: "2025-01-01T00:00:00.000Z" - `vetId` (string, required) Identifier of the primary veterinarian responsible for the consult. Example: "123e4567-e89b-12d3-a456-426614174000" ## Response 400 fields ## Response 401 fields ## Response 404 fields