Skip to content

AHDS Store API (1.0)

Animal Health Data Store - V1 API Documentation

Overview
Languages
Servers
Mock server

https://docs.heydonto.com/_mock/apis/animal-health/openapi/

Local Development

http://localhost:8083/

Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations

Request

Fully replaces an existing Plan. All fields must be provided.

Security
bearer
Path
siteIdnumberrequired

Site identifier

planIdstringrequired

Plan unique identifier (UUID)

Bodyapplication/jsonrequired
animalIdstringrequired

Identifier of the animal this plan is for.

Example: "123e4567-e89b-12d3-a456-426614174000"
consultIdstringrequired

Identifier of the consult associated with this plan.

Example: "123e4567-e89b-12d3-a456-426614174000"
extensionsobjectrequired

Vendor- or practice-specific extensions.

isActivebooleanrequired

Whether the plan is currently active.

notesstringrequired

Free-text notes describing the plan.

recordedAtstringrequired

Clinical timestamp associated with the plan (e.g., when it was recorded in the consult).

Example: "2025-01-01T00:00:00.000Z"
vetIdstringrequired

Identifier of the veterinarian responsible for this plan.

Example: "123e4567-e89b-12d3-a456-426614174000"
curl -i -X PUT \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/plan/{planId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "animalId": "123e4567-e89b-12d3-a456-426614174000",
    "consultId": "123e4567-e89b-12d3-a456-426614174000",
    "extensions": {},
    "isActive": true,
    "notes": "string",
    "recordedAt": "2025-01-01T00:00:00.000Z",
    "vetId": "123e4567-e89b-12d3-a456-426614174000"
  }'

Responses

Plan replaced successfully

Bodyapplication/json
animalIdstringrequired

Identifier of the animal this plan is for.

Example: "123e4567-e89b-12d3-a456-426614174000"
consultIdstringrequired

Identifier of the consult associated with this plan.

Example: "123e4567-e89b-12d3-a456-426614174000"
createdAtstring(date-time)required

Timestamp when the plan was created.

Example: "2025-01-01T00:00:00.000Z"
extensionsobjectrequired

Vendor- or practice-specific extensions.

isActivebooleanrequired

Whether the plan is currently active.

notesstringrequired

Free-text notes describing the plan.

planIdstringrequired

Canonical identifier for the plan.

Example: "123e4567-e89b-12d3-a456-426614174000"
recordedAtstring(date-time)required

Clinical timestamp associated with the plan (e.g., when it was recorded in the consult).

Example: "2025-01-01T00:00:00.000Z"
updatedAtstring(date-time)required

Timestamp when the plan was last modified.

Example: "2025-01-01T00:00:00.000Z"
vetIdstringrequired

Identifier of the veterinarian responsible for this plan.

Example: "123e4567-e89b-12d3-a456-426614174000"
Response
application/json
{ "animalId": "123e4567-e89b-12d3-a456-426614174000", "consultId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "notes": "string", "planId": "123e4567-e89b-12d3-a456-426614174000", "recordedAt": "2025-01-01T00:00:00.000Z", "updatedAt": "2025-01-01T00:00:00.000Z", "vetId": "123e4567-e89b-12d3-a456-426614174000" }

Request

Permanently deletes a Plan record.

Security
bearer
Path
siteIdnumberrequired

Site identifier

planIdstringrequired

Plan unique identifier (UUID)

curl -i -X DELETE \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/plan/{planId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Plan deleted successfully

Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations