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

Request

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

Security
bearer
Path
siteIdnumberrequired

Site identifier

historyIdstringrequired

History unique identifier (UUID)

Bodyapplication/jsonrequired
animalIdstringrequired

Identifier of the animal associated with this history record.

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

Chain or grouping identifier for related history records.

commentsstringrequired

Free-text comments or narrative for this history entry.

consultIdstringrequired

Identifier of the consult associated with this history record.

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

Timestamp of the clinical or system event represented by this history record.

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

Vendor- or practice-specific extensions.

historySystemstringrequired

Source or subsystem that created or owns this history record.

isActivebooleanrequired

Whether this history record is active.

vetIdstringrequired

Identifier of the veterinarian associated with this history record.

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

Responses

History replaced successfully

Bodyapplication/json
animalIdstringrequired

Identifier of the animal associated with this history record.

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

Chain or grouping identifier for related history records.

commentsstringrequired

Free-text comments or narrative for this history entry.

consultIdstringrequired

Identifier of the consult associated with this history record.

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

Timestamp when this history record was created.

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

Timestamp of the clinical or system event represented by this history record.

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

Vendor- or practice-specific extensions.

historyIdstringrequired

Unique identifier for this history record.

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

Source or subsystem that created or owns this history record.

isActivebooleanrequired

Whether this history record is active.

updatedAtstring(date-time)required

Timestamp when this history record was last updated.

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

Identifier of the veterinarian associated with this history record.

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

Request

Permanently deletes a History record.

Security
bearer
Path
siteIdnumberrequired

Site identifier

historyIdstringrequired

History unique identifier (UUID)

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

Responses

History 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
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