Skip to main content
GET
Vet Records

Get Vet Records

Get all validated veterinary records for a horse listing.

Authentication

Not required - Public endpoint

Path Parameters

string
required
Horse unique identifier

Response

boolean
Indicates if the request was successful
array
Array of validated vet records, sorted by review date (newest first)
string
Vet record unique identifier
string
Horse ID
string
Veterinarian user ID (if applicable)
string
Date of veterinary review
string
Overall health status description
array
Array of certificate documents
string
Certificate ID
string
Certificate document URL
string
Certificate title
string
Upload timestamp
array
Array of vaccine records
string
Vaccine name
string
Date vaccine was applied
string
Next vaccine due date
string
Vaccine batch number
string
Status: validated (only validated records returned)
string
User ID of validator
string
Validation timestamp
string
Additional notes
string
Creation timestamp
string
Last update timestamp

Example


Add Vet Record

Add a new veterinary record to a horse listing (owner only).

Authentication

Required - JWT Bearer token with seller or admin role

Authorization

Only the horse owner can add vet records to their listing.

Path Parameters

string
required
Horse unique identifier

Request Body

string
required
Date of veterinary review (ISO 8601 format)
string
required
Overall health status description
array
Array of certificate documents
string
required
Certificate document URL
string
Certificate title/description
array
Array of vaccine records
string
required
Vaccine name
string
required
Date vaccine was applied (ISO 8601)
string
Next vaccine due date (ISO 8601)
string
Vaccine batch number
string
Veterinarian user ID (if applicable)
string
Additional notes about the health review

Response

boolean
Indicates if the request was successful
object
Created vet record
string
Vet record unique identifier
string
Horse ID
string
Review date
string
Health status
array
Certificates with generated IDs and timestamps
array
Vaccine records
string
Status: pending (awaits validation)
string
Additional notes
string
Creation timestamp
string
Last update timestamp

Notes

  • New vet records are created with validation_status: "pending"
  • Records must be validated by an admin before appearing in public listings
  • Only the horse owner can add vet records
  • horse_id is automatically set from the URL parameter

Example

Error Responses

401 - Unauthorized

403 - Forbidden

404 - Horse Not Found or Unauthorized

500 - Server Error