# Update operation Partially updates an existing Operation. Only provided fields will be updated. Endpoint: PATCH /site/{siteId}/ahds/v1/operation/{operationId} Version: 1.0 Security: bearer ## Path parameters: - `siteId` (number, required) Site identifier - `operationId` (string, required) Operation unique identifier (UUID) ## Request fields (application/json): - `animalId` (string) Reference to the animal on which the operation was performed. Example: "123e4567-e89b-12d3-a456-426614174000" - `consultId` (string) Reference to the consult associated with this operation. Example: "123e4567-e89b-12d3-a456-426614174000" - `extensions` (object) Vendor- or practice-specific extensions. - `isActive` (boolean) Whether this operation record is currently active. - `outcome` (string) Free-text description of the outcome of the operation. - `performedAt` (string) Date and time when the operation was performed. Example: "2025-01-01T00:00:00.000Z" - `specifics` (string) Free-text details or notes about the operation. - `therapeuticId` (string) Reference to a therapeutic or procedure definition associated with this operation. Example: "123e4567-e89b-12d3-a456-426614174000" - `vetId` (string) Reference to the veterinarian responsible for the operation. Example: "123e4567-e89b-12d3-a456-426614174000" ## Response 200 fields (application/json): - `animalId` (string, required) Reference to the animal on which the operation was performed. Example: "123e4567-e89b-12d3-a456-426614174000" - `consultId` (string, required) Reference to the consult associated with this operation. Example: "123e4567-e89b-12d3-a456-426614174000" - `createdAt` (string, required) Timestamp when the operation record was created. Example: "2025-01-01T00:00:00.000Z" - `extensions` (object, required) Vendor- or practice-specific extensions. - `isActive` (boolean, required) Whether this operation record is currently active. - `operationId` (string, required) Canonical identifier for the operation record. Example: "123e4567-e89b-12d3-a456-426614174000" - `outcome` (string, required) Free-text description of the outcome of the operation. - `performedAt` (string, required) Date and time when the operation was performed. Example: "2025-01-01T00:00:00.000Z" - `specifics` (string, required) Free-text details or notes about the operation. - `therapeuticId` (string, required) Reference to a therapeutic or procedure definition associated with this operation. Example: "123e4567-e89b-12d3-a456-426614174000" - `updatedAt` (string, required) Timestamp when the operation record was last updated. Example: "2025-01-01T00:00:00.000Z" - `vetId` (string, required) Reference to the veterinarian responsible for the operation. Example: "123e4567-e89b-12d3-a456-426614174000" ## Response 400 fields ## Response 401 fields ## Response 404 fields