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

Request

Creates a new Assessment record. Assessment resource in the Animal Health Data Store

Security
bearer
Path
siteIdnumberrequired

Site identifier

Bodyapplication/jsonrequired
animalIdstring

Identifier of the animal this assessment is for.

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

Canonical unique identifier for the assessment.

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

Identifier of the consult/encounter this assessment is associated with.

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

Vendor- or practice-specific extension fields.

isActivebooleanrequired

Whether the assessment record is active.

notesstring

Free-text notes describing the assessment.

recordedAtstring

Date and time when the assessment was recorded or took place.

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

Identifier of the veterinarian who performed or recorded the assessment.

Example: "123e4567-e89b-12d3-a456-426614174000"
curl -i -X POST \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/assessment' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "animalId": "123e4567-e89b-12d3-a456-426614174000",
    "assessmentId": "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

Assessment created successfully

Bodyapplication/json
animalIdstringrequired

Identifier of the animal this assessment is for.

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

Canonical unique identifier for the assessment.

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

Identifier of the consult/encounter this assessment is associated with.

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

Timestamp when the assessment record was created.

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

Vendor- or practice-specific extension fields.

isActivebooleanrequired

Whether the assessment record is active.

notesstringrequired

Free-text notes describing the assessment.

recordedAtstring(date-time)required

Date and time when the assessment was recorded or took place.

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

Timestamp when the assessment record was last updated.

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

Identifier of the veterinarian who performed or recorded the assessment.

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

Request

Returns a paginated list of Assessments for the specified site. Supports filtering and sorting.

Security
bearer
Path
siteIdnumberrequired

Site identifier

Query
pagenumber>= 0

Page number (0-indexed)

Default 0
pageSizenumber[ 1 .. 100 ]

Number of items per page

Default 10
sortBystring

Field to sort by

Enum"createdAt""updatedAt""notes""recordedAt"
sortOrderstring

Sort order

Default "asc"
Enum"asc""desc"
animalIdstring

Identifier of the animal this assessment is for.

Example: animalId=123e4567-e89b-12d3-a456-426614174000
consultIdstring

Identifier of the consult/encounter this assessment is associated with.

Example: consultId=123e4567-e89b-12d3-a456-426614174000
isActiveboolean

Whether the assessment record is active.

notesstring

Free-text notes describing the assessment.

vetIdstring

Identifier of the veterinarian who performed or recorded the assessment.

Example: vetId=123e4567-e89b-12d3-a456-426614174000
curl -i -X GET \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/assessment?page=0&pageSize=10&sortBy=createdAt&sortOrder=asc&animalId=123e4567-e89b-12d3-a456-426614174000&consultId=123e4567-e89b-12d3-a456-426614174000&isActive=true&notes=string&vetId=123e4567-e89b-12d3-a456-426614174000' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Paginated list of Assessments

Request

Returns a single Assessment by its unique identifier.

Security
bearer
Path
siteIdnumberrequired

Site identifier

assessmentIdstringrequired

Assessment unique identifier (UUID)

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

Responses

Assessment found

Bodyapplication/json
animalIdstringrequired

Identifier of the animal this assessment is for.

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

Canonical unique identifier for the assessment.

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

Identifier of the consult/encounter this assessment is associated with.

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

Timestamp when the assessment record was created.

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

Vendor- or practice-specific extension fields.

isActivebooleanrequired

Whether the assessment record is active.

notesstringrequired

Free-text notes describing the assessment.

recordedAtstring(date-time)required

Date and time when the assessment was recorded or took place.

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

Timestamp when the assessment record was last updated.

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

Identifier of the veterinarian who performed or recorded the assessment.

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

Request

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

Security
bearer
Path
siteIdnumberrequired

Site identifier

assessmentIdstringrequired

Assessment unique identifier (UUID)

Bodyapplication/jsonrequired
animalIdstring

Identifier of the animal this assessment is for.

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

Identifier of the consult/encounter this assessment is associated with.

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

Vendor- or practice-specific extension fields.

isActiveboolean

Whether the assessment record is active.

notesstring

Free-text notes describing the assessment.

recordedAtstring

Date and time when the assessment was recorded or took place.

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

Identifier of the veterinarian who performed or recorded the assessment.

Example: "123e4567-e89b-12d3-a456-426614174000"
curl -i -X PATCH \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/assessment/{assessmentId}' \
  -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

Assessment updated successfully

Bodyapplication/json
animalIdstringrequired

Identifier of the animal this assessment is for.

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

Canonical unique identifier for the assessment.

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

Identifier of the consult/encounter this assessment is associated with.

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

Timestamp when the assessment record was created.

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

Vendor- or practice-specific extension fields.

isActivebooleanrequired

Whether the assessment record is active.

notesstringrequired

Free-text notes describing the assessment.

recordedAtstring(date-time)required

Date and time when the assessment was recorded or took place.

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

Timestamp when the assessment record was last updated.

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

Identifier of the veterinarian who performed or recorded the assessment.

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

Request

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

Security
bearer
Path
siteIdnumberrequired

Site identifier

assessmentIdstringrequired

Assessment unique identifier (UUID)

Bodyapplication/jsonrequired
animalIdstringrequired

Identifier of the animal this assessment is for.

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

Identifier of the consult/encounter this assessment is associated with.

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

Vendor- or practice-specific extension fields.

isActivebooleanrequired

Whether the assessment record is active.

notesstringrequired

Free-text notes describing the assessment.

recordedAtstringrequired

Date and time when the assessment was recorded or took place.

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

Identifier of the veterinarian who performed or recorded the assessment.

Example: "123e4567-e89b-12d3-a456-426614174000"
curl -i -X PUT \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/assessment/{assessmentId}' \
  -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

Assessment replaced successfully

Bodyapplication/json
animalIdstringrequired

Identifier of the animal this assessment is for.

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

Canonical unique identifier for the assessment.

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

Identifier of the consult/encounter this assessment is associated with.

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

Timestamp when the assessment record was created.

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

Vendor- or practice-specific extension fields.

isActivebooleanrequired

Whether the assessment record is active.

notesstringrequired

Free-text notes describing the assessment.

recordedAtstring(date-time)required

Date and time when the assessment was recorded or took place.

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

Timestamp when the assessment record was last updated.

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

Identifier of the veterinarian who performed or recorded the assessment.

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

Request

Permanently deletes a Assessment record.

Security
bearer
Path
siteIdnumberrequired

Site identifier

assessmentIdstringrequired

Assessment unique identifier (UUID)

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

Responses

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