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

Request

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

Security
bearer
Path
siteIdnumberrequired

Site identifier

countryIdstringrequired

Country unique identifier (UUID)

Bodyapplication/jsonrequired
codestringrequired

Country code, typically ISO 3166-1 alpha-2 or alpha-3.

extensionsobjectrequired

Vendor- or practice-specific extensions.

isActivebooleanrequired

Whether this country is active/usable in the system.

namestringrequired

Localized display name of the country.

curl -i -X PUT \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/country/{countryId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "code": "string",
    "extensions": {},
    "isActive": true,
    "name": "string"
  }'

Responses

Country replaced successfully

Bodyapplication/json
codestringrequired

Country code, typically ISO 3166-1 alpha-2 or alpha-3.

countryIdstringrequired

Canonical unique identifier for the country.

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

Timestamp when the country record was created in the source system.

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

Vendor- or practice-specific extensions.

isActivebooleanrequired

Whether this country is active/usable in the system.

namestringrequired

Localized display name of the country.

updatedAtstring(date-time)required

Timestamp when the country record was last updated in the source system.

Example: "2025-01-01T00:00:00.000Z"
Response
application/json
{ "code": "string", "countryId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "name": "string", "updatedAt": "2025-01-01T00:00:00.000Z" }

Request

Permanently deletes a Country record.

Security
bearer
Path
siteIdnumberrequired

Site identifier

countryIdstringrequired

Country unique identifier (UUID)

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

Responses

Country deleted successfully

Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations