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

Request

Partially updates an existing Diagnostic Result. Only provided fields will be updated.

Security
bearer
Path
siteIdnumberrequired

Site identifier

diagnosticResultIdstringrequired

Diagnostic Result unique identifier (UUID)

Bodyapplication/jsonrequired
animalIdstring

Animal (patient) identifier.

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

Related consultation identifier.

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

Owner/client contact identifier, if applicable.

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

Identifier of the originating diagnostic request/order.

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

Vendor- or practice-specific extensions.

externalLinkstring

External URL to full report or lab portal, if available.

isActiveboolean

Whether this diagnostic result is active/valid.

itemsArray of objects(ItemDto)

Individual diagnostic result items (e.g., analytes, findings).

outcomestring

High-level outcome or summary of the diagnostic result.

ownershipIdstring

Owning organization or practice identifier, if applicable.

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

External or human-readable reference number for this result.

resultedAtstring

Date and time when the diagnostic result was finalized or recorded.

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

Free-text notes or specifics about the diagnostic result.

supplierIdstring

External laboratory or supplier identifier, if applicable.

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

Veterinarian responsible for the diagnostic result.

Example: "123e4567-e89b-12d3-a456-426614174000"
curl -i -X PATCH \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/diagnostic-result/{diagnosticResultId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "animalId": "123e4567-e89b-12d3-a456-426614174000",
    "consultId": "123e4567-e89b-12d3-a456-426614174000",
    "contactId": "123e4567-e89b-12d3-a456-426614174000",
    "diagnosticRequestId": "123e4567-e89b-12d3-a456-426614174000",
    "extensions": {},
    "externalLink": "string",
    "isActive": true,
    "items": [
      {
        "class": "string",
        "code": {
          "code": "string",
          "system": "string",
          "display": "string"
        },
        "createdAt": "2025-01-01T00:00:00.000Z",
        "diagnosticDefinitionId": "123e4567-e89b-12d3-a456-426614174000",
        "diagnosticItemId": "123e4567-e89b-12d3-a456-426614174000",
        "isActive": true,
        "name": "string",
        "productId": "123e4567-e89b-12d3-a456-426614174000",
        "updatedAt": "2025-01-01T00:00:00.000Z"
      }
    ],
    "outcome": "string",
    "ownershipId": "123e4567-e89b-12d3-a456-426614174000",
    "referenceNumber": "string",
    "resultedAt": "2025-01-01T00:00:00.000Z",
    "specifics": "string",
    "supplierId": "123e4567-e89b-12d3-a456-426614174000",
    "vetId": "123e4567-e89b-12d3-a456-426614174000"
  }'

Responses

Diagnostic Result updated successfully

Bodyapplication/json
animalIdstringrequired

Animal (patient) identifier.

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

Related consultation identifier.

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

Owner/client contact identifier, if applicable.

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

Timestamp when the diagnostic result was created.

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

Identifier of the originating diagnostic request/order.

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

Canonical identifier for the diagnostic result.

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

Vendor- or practice-specific extensions.

externalLinkstringrequired

External URL to full report or lab portal, if available.

isActivebooleanrequired

Whether this diagnostic result is active/valid.

itemsArray of objects(ItemDto)required

Individual diagnostic result items (e.g., analytes, findings).

items[].​classstring

Classification of the diagnostic item (e.g., lab, imaging).

items[].​codeobject
items[].​createdAtstring

Timestamp when this diagnostic item was created.

Example: "2025-01-01T00:00:00.000Z"
items[].​diagnosticDefinitionIdstring

Reference to the diagnostic definition/catalog entry.

Example: "123e4567-e89b-12d3-a456-426614174000"
items[].​diagnosticItemIdstringrequired

Canonical identifier for this diagnostic item within the request.

Example: "123e4567-e89b-12d3-a456-426614174000"
items[].​isActiveboolean

Whether this diagnostic item is currently active.

items[].​namestring

Human-readable name of the diagnostic item.

items[].​productIdstring

Linked billable product, if applicable.

Example: "123e4567-e89b-12d3-a456-426614174000"
items[].​updatedAtstring

Timestamp when this diagnostic item was last updated.

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

High-level outcome or summary of the diagnostic result.

ownershipIdstringrequired

Owning organization or practice identifier, if applicable.

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

External or human-readable reference number for this result.

resultedAtstring(date-time)required

Date and time when the diagnostic result was finalized or recorded.

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

Free-text notes or specifics about the diagnostic result.

supplierIdstringrequired

External laboratory or supplier identifier, if applicable.

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

Timestamp when the diagnostic result was last modified.

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

Veterinarian responsible for the diagnostic result.

Example: "123e4567-e89b-12d3-a456-426614174000"
Response
application/json
{ "animalId": "123e4567-e89b-12d3-a456-426614174000", "consultId": "123e4567-e89b-12d3-a456-426614174000", "contactId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "diagnosticRequestId": "123e4567-e89b-12d3-a456-426614174000", "diagnosticResultId": "123e4567-e89b-12d3-a456-426614174000", "extensions": {}, "externalLink": "string", "isActive": true, "items": [ { … } ], "outcome": "string", "ownershipId": "123e4567-e89b-12d3-a456-426614174000", "referenceNumber": "string", "resultedAt": "2025-01-01T00:00:00.000Z", "specifics": "string", "supplierId": "123e4567-e89b-12d3-a456-426614174000", "updatedAt": "2025-01-01T00:00:00.000Z", "vetId": "123e4567-e89b-12d3-a456-426614174000" }

Request

Fully replaces an existing Diagnostic Result. All fields must be provided.

Security
bearer
Path
siteIdnumberrequired

Site identifier

diagnosticResultIdstringrequired

Diagnostic Result unique identifier (UUID)

Bodyapplication/jsonrequired
animalIdstringrequired

Animal (patient) identifier.

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

Related consultation identifier.

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

Owner/client contact identifier, if applicable.

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

Identifier of the originating diagnostic request/order.

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

Vendor- or practice-specific extensions.

externalLinkstringrequired

External URL to full report or lab portal, if available.

isActivebooleanrequired

Whether this diagnostic result is active/valid.

itemsArray of objects(ItemDto)required

Individual diagnostic result items (e.g., analytes, findings).

items[].​classstring

Classification of the diagnostic item (e.g., lab, imaging).

items[].​codeobject
items[].​createdAtstring

Timestamp when this diagnostic item was created.

Example: "2025-01-01T00:00:00.000Z"
items[].​diagnosticDefinitionIdstring

Reference to the diagnostic definition/catalog entry.

Example: "123e4567-e89b-12d3-a456-426614174000"
items[].​diagnosticItemIdstringrequired

Canonical identifier for this diagnostic item within the request.

Example: "123e4567-e89b-12d3-a456-426614174000"
items[].​isActiveboolean

Whether this diagnostic item is currently active.

items[].​namestring

Human-readable name of the diagnostic item.

items[].​productIdstring

Linked billable product, if applicable.

Example: "123e4567-e89b-12d3-a456-426614174000"
items[].​updatedAtstring

Timestamp when this diagnostic item was last updated.

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

High-level outcome or summary of the diagnostic result.

ownershipIdstringrequired

Owning organization or practice identifier, if applicable.

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

External or human-readable reference number for this result.

resultedAtstringrequired

Date and time when the diagnostic result was finalized or recorded.

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

Free-text notes or specifics about the diagnostic result.

supplierIdstringrequired

External laboratory or supplier identifier, if applicable.

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

Veterinarian responsible for the diagnostic result.

Example: "123e4567-e89b-12d3-a456-426614174000"
curl -i -X PUT \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/diagnostic-result/{diagnosticResultId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "animalId": "123e4567-e89b-12d3-a456-426614174000",
    "consultId": "123e4567-e89b-12d3-a456-426614174000",
    "contactId": "123e4567-e89b-12d3-a456-426614174000",
    "diagnosticRequestId": "123e4567-e89b-12d3-a456-426614174000",
    "extensions": {},
    "externalLink": "string",
    "isActive": true,
    "items": [
      {
        "class": "string",
        "code": {
          "code": "string",
          "system": "string",
          "display": "string"
        },
        "createdAt": "2025-01-01T00:00:00.000Z",
        "diagnosticDefinitionId": "123e4567-e89b-12d3-a456-426614174000",
        "diagnosticItemId": "123e4567-e89b-12d3-a456-426614174000",
        "isActive": true,
        "name": "string",
        "productId": "123e4567-e89b-12d3-a456-426614174000",
        "updatedAt": "2025-01-01T00:00:00.000Z"
      }
    ],
    "outcome": "string",
    "ownershipId": "123e4567-e89b-12d3-a456-426614174000",
    "referenceNumber": "string",
    "resultedAt": "2025-01-01T00:00:00.000Z",
    "specifics": "string",
    "supplierId": "123e4567-e89b-12d3-a456-426614174000",
    "vetId": "123e4567-e89b-12d3-a456-426614174000"
  }'

Responses

Diagnostic Result replaced successfully

Bodyapplication/json
animalIdstringrequired

Animal (patient) identifier.

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

Related consultation identifier.

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

Owner/client contact identifier, if applicable.

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

Timestamp when the diagnostic result was created.

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

Identifier of the originating diagnostic request/order.

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

Canonical identifier for the diagnostic result.

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

Vendor- or practice-specific extensions.

externalLinkstringrequired

External URL to full report or lab portal, if available.

isActivebooleanrequired

Whether this diagnostic result is active/valid.

itemsArray of objects(ItemDto)required

Individual diagnostic result items (e.g., analytes, findings).

items[].​classstring

Classification of the diagnostic item (e.g., lab, imaging).

items[].​codeobject
items[].​createdAtstring

Timestamp when this diagnostic item was created.

Example: "2025-01-01T00:00:00.000Z"
items[].​diagnosticDefinitionIdstring

Reference to the diagnostic definition/catalog entry.

Example: "123e4567-e89b-12d3-a456-426614174000"
items[].​diagnosticItemIdstringrequired

Canonical identifier for this diagnostic item within the request.

Example: "123e4567-e89b-12d3-a456-426614174000"
items[].​isActiveboolean

Whether this diagnostic item is currently active.

items[].​namestring

Human-readable name of the diagnostic item.

items[].​productIdstring

Linked billable product, if applicable.

Example: "123e4567-e89b-12d3-a456-426614174000"
items[].​updatedAtstring

Timestamp when this diagnostic item was last updated.

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

High-level outcome or summary of the diagnostic result.

ownershipIdstringrequired

Owning organization or practice identifier, if applicable.

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

External or human-readable reference number for this result.

resultedAtstring(date-time)required

Date and time when the diagnostic result was finalized or recorded.

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

Free-text notes or specifics about the diagnostic result.

supplierIdstringrequired

External laboratory or supplier identifier, if applicable.

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

Timestamp when the diagnostic result was last modified.

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

Veterinarian responsible for the diagnostic result.

Example: "123e4567-e89b-12d3-a456-426614174000"
Response
application/json
{ "animalId": "123e4567-e89b-12d3-a456-426614174000", "consultId": "123e4567-e89b-12d3-a456-426614174000", "contactId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "diagnosticRequestId": "123e4567-e89b-12d3-a456-426614174000", "diagnosticResultId": "123e4567-e89b-12d3-a456-426614174000", "extensions": {}, "externalLink": "string", "isActive": true, "items": [ { … } ], "outcome": "string", "ownershipId": "123e4567-e89b-12d3-a456-426614174000", "referenceNumber": "string", "resultedAt": "2025-01-01T00:00:00.000Z", "specifics": "string", "supplierId": "123e4567-e89b-12d3-a456-426614174000", "updatedAt": "2025-01-01T00:00:00.000Z", "vetId": "123e4567-e89b-12d3-a456-426614174000" }

Request

Permanently deletes a Diagnostic Result record.

Security
bearer
Path
siteIdnumberrequired

Site identifier

diagnosticResultIdstringrequired

Diagnostic Result unique identifier (UUID)

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

Responses

Diagnostic Result 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