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

Request

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

Security
bearer
Path
siteIdnumberrequired

Site identifier

Bodyapplication/jsonrequired
codeobject
extensionsobject

Vendor- or practice-specific extensions.

isActivebooleanrequired

Whether this species is active and can be used in the system.

namestringrequired

Human-readable species name (e.g., 'Canine', 'Feline').

speciesIdstring

Canonical unique identifier for the species.

Example: "123e4567-e89b-12d3-a456-426614174000"
aliasesArray of strings

Optional list of alternative names or synonyms for this species (e.g., common names, abbreviations).

curl -i -X POST \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/species' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "code": {
      "code": "string",
      "system": "string",
      "display": "string"
    },
    "extensions": {},
    "isActive": true,
    "name": "string",
    "speciesId": "123e4567-e89b-12d3-a456-426614174000",
    "aliases": [
      "string"
    ]
  }'

Responses

Species created successfully

Bodyapplication/json
codeobjectrequired
code.​codestringrequired

Code value

code.​systemstringrequired

Code system URI

code.​displaystring

Human-readable display

createdAtstring(date-time)required

Timestamp when the species record was created.

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

Vendor- or practice-specific extensions.

isActivebooleanrequired

Whether this species is active and can be used in the system.

namestringrequired

Human-readable species name (e.g., 'Canine', 'Feline').

speciesIdstringrequired

Canonical unique identifier for the species.

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

Timestamp when the species record was last updated.

Example: "2025-01-01T00:00:00.000Z"
aliasesArray of stringsrequired

Optional list of alternative names or synonyms for this species (e.g., common names, abbreviations).

Response
application/json
{ "code": { "code": "string", "system": "string", "display": "string" }, "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "name": "string", "speciesId": "123e4567-e89b-12d3-a456-426614174000", "updatedAt": "2025-01-01T00:00:00.000Z", "aliases": [ "string" ] }

Request

Returns a paginated list of Species 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""name"
sortOrderstring

Sort order

Default "asc"
Enum"asc""desc"
isActiveboolean

Whether this species is active and can be used in the system.

namestring

Human-readable species name (e.g., 'Canine', 'Feline').

curl -i -X GET \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/species?page=0&pageSize=10&sortBy=createdAt&sortOrder=asc&isActive=true&name=string' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Paginated list of Species

Request

Returns a single Species by its unique identifier.

Security
bearer
Path
siteIdnumberrequired

Site identifier

speciesIdstringrequired

Species unique identifier (UUID)

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

Responses

Species found

Bodyapplication/json
codeobjectrequired
code.​codestringrequired

Code value

code.​systemstringrequired

Code system URI

code.​displaystring

Human-readable display

createdAtstring(date-time)required

Timestamp when the species record was created.

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

Vendor- or practice-specific extensions.

isActivebooleanrequired

Whether this species is active and can be used in the system.

namestringrequired

Human-readable species name (e.g., 'Canine', 'Feline').

speciesIdstringrequired

Canonical unique identifier for the species.

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

Timestamp when the species record was last updated.

Example: "2025-01-01T00:00:00.000Z"
aliasesArray of stringsrequired

Optional list of alternative names or synonyms for this species (e.g., common names, abbreviations).

Response
application/json
{ "code": { "code": "string", "system": "string", "display": "string" }, "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "name": "string", "speciesId": "123e4567-e89b-12d3-a456-426614174000", "updatedAt": "2025-01-01T00:00:00.000Z", "aliases": [ "string" ] }
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations