diagnoVET

diagnoVET Professional Manager

Your centralized hub for professional information.

Full Name
Actions
Dr. Emily Carter
Dr. James Lee
API Endpoints
You can interact with the professional data programmatically using these API endpoints.

Get All Professionals

Retrieves a list of all professionals.

GET /api/professionals

Example usage with curl:

curl http://localhost:9002/api/professionals

Create a New Professional

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

POST /api/professionals

Example usage with curl:

curl -X POST http://localhost:9002/api/professionals -H "Content-Type: application/json" -d '{"fullName": "Dr. Smith", ...}'

Get a Professional by ID

Retrieves a single professional by their unique ID.

GET /api/professionals/[id]

Example usage with curl:

curl http://localhost:9002/api/professionals/1

Update a Professional

Updates an existing professional's record by their ID.

PUT /api/professionals/[id]

Example usage with curl:

curl -X PUT http://localhost:9002/api/professionals/1 -H "Content-Type: application/json" -d '{"email": "new.email@example.com", ...}'

Delete a Professional

Deletes a professional's record by their ID.

DELETE /api/professionals/[id]

Example usage with curl:

curl -X DELETE http://localhost:9002/api/professionals/1