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

Request

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

Security
bearer
Path
siteIdnumberrequired

Site identifier

Bodyapplication/jsonrequired
breedIdstringrequired

Canonical unique identifier for the breed.

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

Vendor- or practice-specific extensions. Keys SHOULD be namespaced (e.g., vendorName.extensionName) to avoid collisions. Values SHOULD be primitive JSON types or small nested objects that do not duplicate core AHDS fields.

isActivebooleanrequired

Whether this breed is currently active and can be selected for new records in the system. Inactive breeds should remain for historical/reference purposes but should not be used for new assignments.

namestringrequired

Human-readable name of the breed.

speciesIdstringrequired

Reference to the species this breed belongs to.

Example: "123e4567-e89b-12d3-a456-426614174000"
codeobjectrequired
code.​codestringrequired

Code value

code.​systemstringrequired

Code system URI

code.​displaystring

Human-readable display

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

Responses

Breed created successfully

Bodyapplication/json
breedIdstringrequired

Canonical unique identifier for the breed.

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

Timestamp when the breed record was created.

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

Vendor- or practice-specific extensions. Keys SHOULD be namespaced (e.g., vendorName.extensionName) to avoid collisions. Values SHOULD be primitive JSON types or small nested objects that do not duplicate core AHDS fields.

isActivebooleanrequired

Whether this breed is currently active and can be selected for new records in the system. Inactive breeds should remain for historical/reference purposes but should not be used for new assignments.

namestringrequired

Human-readable name of the breed.

speciesIdstringrequired

Reference to the species this breed belongs to.

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

Timestamp when the breed record was last updated.

Example: "2025-01-01T00:00:00.000Z"
codeobjectrequired
code.​codestringrequired

Code value

code.​systemstringrequired

Code system URI

code.​displaystring

Human-readable display

breedCodeobjectrequired
breedCode.​codestringrequired

Code value

breedCode.​systemstringrequired

Code system URI

breedCode.​displaystring

Human-readable display

Response
application/json
{ "breedId": "123e4567-e89b-12d3-a456-426614174000", "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", "code": { "code": "string", "system": "string", "display": "string" }, "breedCode": { "code": "string", "system": "string", "display": "string" } }

Request

Returns a paginated list of Breeds 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 breed is currently active and can be selected for new records in the system. Inactive breeds should remain for historical/reference purposes but should not be used for new assignments.

namestring

Human-readable name of the breed.

speciesIdstring

Reference to the species this breed belongs to.

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

Responses

Paginated list of Breeds

Request

Returns a single Breed by its unique identifier.

Security
bearer
Path
siteIdnumberrequired

Site identifier

breedIdstringrequired

Breed unique identifier (UUID)

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

Responses

Breed found

Bodyapplication/json
breedIdstringrequired

Canonical unique identifier for the breed.

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

Timestamp when the breed record was created.

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

Vendor- or practice-specific extensions. Keys SHOULD be namespaced (e.g., vendorName.extensionName) to avoid collisions. Values SHOULD be primitive JSON types or small nested objects that do not duplicate core AHDS fields.

isActivebooleanrequired

Whether this breed is currently active and can be selected for new records in the system. Inactive breeds should remain for historical/reference purposes but should not be used for new assignments.

namestringrequired

Human-readable name of the breed.

speciesIdstringrequired

Reference to the species this breed belongs to.

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

Timestamp when the breed record was last updated.

Example: "2025-01-01T00:00:00.000Z"
codeobjectrequired
code.​codestringrequired

Code value

code.​systemstringrequired

Code system URI

code.​displaystring

Human-readable display

breedCodeobjectrequired
breedCode.​codestringrequired

Code value

breedCode.​systemstringrequired

Code system URI

breedCode.​displaystring

Human-readable display

Response
application/json
{ "breedId": "123e4567-e89b-12d3-a456-426614174000", "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", "code": { "code": "string", "system": "string", "display": "string" }, "breedCode": { "code": "string", "system": "string", "display": "string" } }

Request

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

Security
bearer
Path
siteIdnumberrequired

Site identifier

breedIdstringrequired

Breed unique identifier (UUID)

Bodyapplication/jsonrequired
extensionsobject

Vendor- or practice-specific extensions. Keys SHOULD be namespaced (e.g., vendorName.extensionName) to avoid collisions. Values SHOULD be primitive JSON types or small nested objects that do not duplicate core AHDS fields.

isActiveboolean

Whether this breed is currently active and can be selected for new records in the system. Inactive breeds should remain for historical/reference purposes but should not be used for new assignments.

namestring

Human-readable name of the breed.

speciesIdstring

Reference to the species this breed belongs to.

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

Responses

Breed updated successfully

Bodyapplication/json
breedIdstringrequired

Canonical unique identifier for the breed.

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

Timestamp when the breed record was created.

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

Vendor- or practice-specific extensions. Keys SHOULD be namespaced (e.g., vendorName.extensionName) to avoid collisions. Values SHOULD be primitive JSON types or small nested objects that do not duplicate core AHDS fields.

isActivebooleanrequired

Whether this breed is currently active and can be selected for new records in the system. Inactive breeds should remain for historical/reference purposes but should not be used for new assignments.

namestringrequired

Human-readable name of the breed.

speciesIdstringrequired

Reference to the species this breed belongs to.

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

Timestamp when the breed record was last updated.

Example: "2025-01-01T00:00:00.000Z"
codeobjectrequired
code.​codestringrequired

Code value

code.​systemstringrequired

Code system URI

code.​displaystring

Human-readable display

breedCodeobjectrequired
breedCode.​codestringrequired

Code value

breedCode.​systemstringrequired

Code system URI

breedCode.​displaystring

Human-readable display

Response
application/json
{ "breedId": "123e4567-e89b-12d3-a456-426614174000", "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", "code": { "code": "string", "system": "string", "display": "string" }, "breedCode": { "code": "string", "system": "string", "display": "string" } }

Request

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

Security
bearer
Path
siteIdnumberrequired

Site identifier

breedIdstringrequired

Breed unique identifier (UUID)

Bodyapplication/jsonrequired
extensionsobjectrequired

Vendor- or practice-specific extensions. Keys SHOULD be namespaced (e.g., vendorName.extensionName) to avoid collisions. Values SHOULD be primitive JSON types or small nested objects that do not duplicate core AHDS fields.

isActivebooleanrequired

Whether this breed is currently active and can be selected for new records in the system. Inactive breeds should remain for historical/reference purposes but should not be used for new assignments.

namestringrequired

Human-readable name of the breed.

speciesIdstringrequired

Reference to the species this breed belongs to.

Example: "123e4567-e89b-12d3-a456-426614174000"
codeobjectrequired
code.​codestringrequired

Code value

code.​systemstringrequired

Code system URI

code.​displaystring

Human-readable display

breedCodeobjectrequired
breedCode.​codestringrequired

Code value

breedCode.​systemstringrequired

Code system URI

breedCode.​displaystring

Human-readable display

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

Responses

Breed replaced successfully

Bodyapplication/json
breedIdstringrequired

Canonical unique identifier for the breed.

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

Timestamp when the breed record was created.

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

Vendor- or practice-specific extensions. Keys SHOULD be namespaced (e.g., vendorName.extensionName) to avoid collisions. Values SHOULD be primitive JSON types or small nested objects that do not duplicate core AHDS fields.

isActivebooleanrequired

Whether this breed is currently active and can be selected for new records in the system. Inactive breeds should remain for historical/reference purposes but should not be used for new assignments.

namestringrequired

Human-readable name of the breed.

speciesIdstringrequired

Reference to the species this breed belongs to.

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

Timestamp when the breed record was last updated.

Example: "2025-01-01T00:00:00.000Z"
codeobjectrequired
code.​codestringrequired

Code value

code.​systemstringrequired

Code system URI

code.​displaystring

Human-readable display

breedCodeobjectrequired
breedCode.​codestringrequired

Code value

breedCode.​systemstringrequired

Code system URI

breedCode.​displaystring

Human-readable display

Response
application/json
{ "breedId": "123e4567-e89b-12d3-a456-426614174000", "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", "code": { "code": "string", "system": "string", "display": "string" }, "breedCode": { "code": "string", "system": "string", "display": "string" } }

Request

Permanently deletes a Breed record.

Security
bearer
Path
siteIdnumberrequired

Site identifier

breedIdstringrequired

Breed unique identifier (UUID)

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

Responses

Breed 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