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

Request

Partially updates an existing Consult. Only provided fields will be updated.

Security
bearer
Path
siteIdnumberrequired

Site identifier

consultIdstringrequired

Consult unique identifier (UUID)

Bodyapplication/jsonrequired
animalIdstring

Identifier of the animal this consult is for.

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

Practice-specific consult code or short identifier.

consultedAtstring

Date and time when the consult occurred or is scheduled.

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

Free-text description or summary of the consult.

extensionsobject

Vendor- or practice-specific extensions.

isActiveboolean

Whether the consult is currently active/open.

ownershipIdstring

Identifier for the ownership context (e.g., client account or business unit).

Example: "123e4567-e89b-12d3-a456-426614174000"
presentingProblemsArray of objects(PresentingProblemDto)

List of presenting problems associated with this consult.

referringClinicIdstring

Identifier of the referring clinic, if any.

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

Identifier of the referring veterinarian contact, if any.

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

Identifier of the primary veterinarian responsible for the consult.

Example: "123e4567-e89b-12d3-a456-426614174000"
curl -i -X PATCH \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/consult/{consultId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "animalId": "123e4567-e89b-12d3-a456-426614174000",
    "code": "string",
    "consultedAt": "2025-01-01T00:00:00.000Z",
    "description": "string",
    "extensions": {},
    "isActive": true,
    "ownershipId": "123e4567-e89b-12d3-a456-426614174000",
    "presentingProblems": [
      {
        "presentingProblemId": "123e4567-e89b-12d3-a456-426614174000"
      }
    ],
    "referringClinicId": "123e4567-e89b-12d3-a456-426614174000",
    "referringVetContactId": "123e4567-e89b-12d3-a456-426614174000",
    "vetId": "123e4567-e89b-12d3-a456-426614174000"
  }'

Responses

Consult updated successfully

Bodyapplication/json
animalIdstringrequired

Identifier of the animal this consult is for.

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

Practice-specific consult code or short identifier.

consultedAtstring(date-time)required

Date and time when the consult occurred or is scheduled.

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

Canonical identifier for the consult.

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

Timestamp when the consult was created.

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

Free-text description or summary of the consult.

extensionsobjectrequired

Vendor- or practice-specific extensions.

isActivebooleanrequired

Whether the consult is currently active/open.

ownershipIdstringrequired

Identifier for the ownership context (e.g., client account or business unit).

Example: "123e4567-e89b-12d3-a456-426614174000"
presentingProblemsArray of objects(PresentingProblemDto)required

List of presenting problems associated with this consult.

presentingProblems[].​presentingProblemIdstringrequired

Identifier of the presenting problem.

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

Identifier of the referring clinic, if any.

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

Identifier of the referring veterinarian contact, if any.

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

Timestamp when the consult was last modified.

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

Identifier of the primary veterinarian responsible for the consult.

Example: "123e4567-e89b-12d3-a456-426614174000"
Response
application/json
{ "animalId": "123e4567-e89b-12d3-a456-426614174000", "code": "string", "consultedAt": "2025-01-01T00:00:00.000Z", "consultId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "description": "string", "extensions": {}, "isActive": true, "ownershipId": "123e4567-e89b-12d3-a456-426614174000", "presentingProblems": [ { … } ], "referringClinicId": "123e4567-e89b-12d3-a456-426614174000", "referringVetContactId": "123e4567-e89b-12d3-a456-426614174000", "updatedAt": "2025-01-01T00:00:00.000Z", "vetId": "123e4567-e89b-12d3-a456-426614174000" }

Request

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

Security
bearer
Path
siteIdnumberrequired

Site identifier

consultIdstringrequired

Consult unique identifier (UUID)

Bodyapplication/jsonrequired
animalIdstringrequired

Identifier of the animal this consult is for.

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

Practice-specific consult code or short identifier.

consultedAtstringrequired

Date and time when the consult occurred or is scheduled.

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

Free-text description or summary of the consult.

extensionsobjectrequired

Vendor- or practice-specific extensions.

isActivebooleanrequired

Whether the consult is currently active/open.

ownershipIdstringrequired

Identifier for the ownership context (e.g., client account or business unit).

Example: "123e4567-e89b-12d3-a456-426614174000"
presentingProblemsArray of objects(PresentingProblemDto)required

List of presenting problems associated with this consult.

presentingProblems[].​presentingProblemIdstringrequired

Identifier of the presenting problem.

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

Identifier of the referring clinic, if any.

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

Identifier of the referring veterinarian contact, if any.

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

Identifier of the primary veterinarian responsible for the consult.

Example: "123e4567-e89b-12d3-a456-426614174000"
curl -i -X PUT \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/consult/{consultId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "animalId": "123e4567-e89b-12d3-a456-426614174000",
    "code": "string",
    "consultedAt": "2025-01-01T00:00:00.000Z",
    "description": "string",
    "extensions": {},
    "isActive": true,
    "ownershipId": "123e4567-e89b-12d3-a456-426614174000",
    "presentingProblems": [
      {
        "presentingProblemId": "123e4567-e89b-12d3-a456-426614174000"
      }
    ],
    "referringClinicId": "123e4567-e89b-12d3-a456-426614174000",
    "referringVetContactId": "123e4567-e89b-12d3-a456-426614174000",
    "vetId": "123e4567-e89b-12d3-a456-426614174000"
  }'

Responses

Consult replaced successfully

Bodyapplication/json
animalIdstringrequired

Identifier of the animal this consult is for.

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

Practice-specific consult code or short identifier.

consultedAtstring(date-time)required

Date and time when the consult occurred or is scheduled.

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

Canonical identifier for the consult.

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

Timestamp when the consult was created.

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

Free-text description or summary of the consult.

extensionsobjectrequired

Vendor- or practice-specific extensions.

isActivebooleanrequired

Whether the consult is currently active/open.

ownershipIdstringrequired

Identifier for the ownership context (e.g., client account or business unit).

Example: "123e4567-e89b-12d3-a456-426614174000"
presentingProblemsArray of objects(PresentingProblemDto)required

List of presenting problems associated with this consult.

presentingProblems[].​presentingProblemIdstringrequired

Identifier of the presenting problem.

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

Identifier of the referring clinic, if any.

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

Identifier of the referring veterinarian contact, if any.

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

Timestamp when the consult was last modified.

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

Identifier of the primary veterinarian responsible for the consult.

Example: "123e4567-e89b-12d3-a456-426614174000"
Response
application/json
{ "animalId": "123e4567-e89b-12d3-a456-426614174000", "code": "string", "consultedAt": "2025-01-01T00:00:00.000Z", "consultId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "description": "string", "extensions": {}, "isActive": true, "ownershipId": "123e4567-e89b-12d3-a456-426614174000", "presentingProblems": [ { … } ], "referringClinicId": "123e4567-e89b-12d3-a456-426614174000", "referringVetContactId": "123e4567-e89b-12d3-a456-426614174000", "updatedAt": "2025-01-01T00:00:00.000Z", "vetId": "123e4567-e89b-12d3-a456-426614174000" }

Request

Permanently deletes a Consult record.

Security
bearer
Path
siteIdnumberrequired

Site identifier

consultIdstringrequired

Consult unique identifier (UUID)

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

Responses

Consult 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
Operations