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

Request

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

Security
bearer
Path
siteIdnumberrequired

Site identifier

separationIdstringrequired

Separation unique identifier (UUID)

Bodyapplication/jsonrequired
categorystringrequired

High-level category of separation.

Enum"ownership""location""grouping""other"
childEntityIdstringrequired

Identifier of the child entity in the separation relationship (e.g., separated animal, destination group).

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

Optional client-supplied identifier for idempotency or cross-system correlation.

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

Reference to the associated contact, if applicable.

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

Vendor- or practice-specific extensions.

isActivebooleanrequired

Whether this separation record is currently active.

namestringrequired

Human-readable name or label for the separation.

parentEntityIdstringrequired

Identifier of the parent entity in the separation relationship (e.g., owner, source group).

Example: "123e4567-e89b-12d3-a456-426614174000"
separationTypeobjectrequired
separationType.​codestringrequired

Code value

separationType.​systemstringrequired

Code system URI

separationType.​displaystring

Human-readable display

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

Responses

Separation replaced successfully

Bodyapplication/json
categorystringrequired

High-level category of separation.

Enum"ownership""location""grouping""other"
childEntityIdstringrequired

Identifier of the child entity in the separation relationship (e.g., separated animal, destination group).

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

Optional client-supplied identifier for idempotency or cross-system correlation.

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

Reference to the associated contact, if applicable.

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

Timestamp when this separation record was created.

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

Vendor- or practice-specific extensions.

isActivebooleanrequired

Whether this separation record is currently active.

namestringrequired

Human-readable name or label for the separation.

parentEntityIdstringrequired

Identifier of the parent entity in the separation relationship (e.g., owner, source group).

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

Canonical identifier for this separation relationship.

Example: "123e4567-e89b-12d3-a456-426614174000"
separationTypeobjectrequired
separationType.​codestringrequired

Code value

separationType.​systemstringrequired

Code system URI

separationType.​displaystring

Human-readable display

updatedAtstring(date-time)required

Timestamp when this separation record was last updated.

Example: "2025-01-01T00:00:00.000Z"
Response
application/json
{ "category": "ownership", "childEntityId": "123e4567-e89b-12d3-a456-426614174000", "clientProvidedId": "123e4567-e89b-12d3-a456-426614174000", "contactId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "name": "string", "parentEntityId": "123e4567-e89b-12d3-a456-426614174000", "separationId": "123e4567-e89b-12d3-a456-426614174000", "separationType": { "code": "string", "system": "string", "display": "string" }, "updatedAt": "2025-01-01T00:00:00.000Z" }

Request

Permanently deletes a Separation record.

Security
bearer
Path
siteIdnumberrequired

Site identifier

separationIdstringrequired

Separation unique identifier (UUID)

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

Responses

Separation deleted successfully

Operations
Operations
Operations
Operations
Operations
Operations