diagnoVET

diagnoVET Clinic Manager

Your centralized hub for clinic information.

Name
Actions
Happy Paws Veterinary
The Cat & Canine Clinic
API Endpoints
You can interact with the clinic data programmatically using these API endpoints.

Get All Clinics

Retrieves a list of all clinics.

GET /api/clinics

Example usage with curl:

curl http://localhost:9002/api/clinics

Create a New Clinic

Creates a new clinic record. The request body must match the clinic schema.

POST /api/clinics

Example usage with curl:

curl -X POST http://localhost:9002/api/clinics -H "Content-Type: application/json" -d '{"name": "Happy Paws Vet", ...}'

Get a Clinic by ID

Retrieves a single clinic by its unique ID.

GET /api/clinics/[id]

Example usage with curl:

curl http://localhost:9002/api/clinics/clinic-1

Update a Clinic

Updates an existing clinic's record by its ID.

PUT /api/clinics/[id]

Example usage with curl:

curl -X PUT http://localhost:9002/api/clinics/clinic-1 -H "Content-Type: application/json" -d '{"emergencyServices": true, ...}'

Delete a Clinic

Deletes a clinic's record by its ID.

DELETE /api/clinics/[id]

Example usage with curl:

curl -X DELETE http://localhost:9002/api/clinics/clinic-1