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

Request

Creates a new Eventgroup record. Canonical read model for an event group within the system domain.

Security
bearer
Path
siteIdnumberrequired

Site identifier

Bodyapplication/jsonrequired
categorystring

High-level category or type of event group (e.g., workflow, reminder-set, campaign).

descriptionstring

Detailed description of the event group.

eventgroupIdstringrequired

Stable, opaque identifier for the event group.

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

Vendor- or practice-specific extensions.

locationIdstring

Primary location associated with this event group, if applicable.

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

Human-readable name or label for the event group.

organizationIdstring

Owning organization or practice for this event group.

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

Lifecycle status of the event group.

Enum"active""inactive""archived"
curl -i -X POST \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/eventgroup' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "category": "string",
    "description": "string",
    "eventgroupId": "123e4567-e89b-12d3-a456-426614174000",
    "extensions": {},
    "locationId": "123e4567-e89b-12d3-a456-426614174000",
    "name": "string",
    "organizationId": "123e4567-e89b-12d3-a456-426614174000",
    "status": "active"
  }'

Responses

Eventgroup created successfully

Bodyapplication/json
categorystringrequired

High-level category or type of event group (e.g., workflow, reminder-set, campaign).

createdAtstring(date-time)required

Timestamp when the event group was created.

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

Detailed description of the event group.

eventgroupIdstringrequired

Stable, opaque identifier for the event group.

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

Vendor- or practice-specific extensions.

locationIdstringrequired

Primary location associated with this event group, if applicable.

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

Human-readable name or label for the event group.

organizationIdstringrequired

Owning organization or practice for this event group.

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

Lifecycle status of the event group.

Enum"active""inactive""archived"
updatedAtstring(date-time)required

Timestamp when the event group was last updated.

Example: "2025-01-01T00:00:00.000Z"
Response
application/json
{ "category": "string", "createdAt": "2025-01-01T00:00:00.000Z", "description": "string", "eventgroupId": "123e4567-e89b-12d3-a456-426614174000", "extensions": {}, "locationId": "123e4567-e89b-12d3-a456-426614174000", "name": "string", "organizationId": "123e4567-e89b-12d3-a456-426614174000", "status": "active", "updatedAt": "2025-01-01T00:00:00.000Z" }

Request

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

Sort order

Default "asc"
Enum"asc""desc"
categorystring

High-level category or type of event group (e.g., workflow, reminder-set, campaign).

descriptionstring

Detailed description of the event group.

locationIdstring

Primary location associated with this event group, if applicable.

Example: locationId=123e4567-e89b-12d3-a456-426614174000
namestring

Human-readable name or label for the event group.

organizationIdstring

Owning organization or practice for this event group.

Example: organizationId=123e4567-e89b-12d3-a456-426614174000
statusstring

Lifecycle status of the event group.

Enum"active""inactive""archived"
curl -i -X GET \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/eventgroup?page=0&pageSize=10&sortBy=createdAt&sortOrder=asc&category=string&description=string&locationId=123e4567-e89b-12d3-a456-426614174000&name=string&organizationId=123e4567-e89b-12d3-a456-426614174000&status=active' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Paginated list of Eventgroups

Request

Returns a single Eventgroup by its unique identifier.

Security
bearer
Path
siteIdnumberrequired

Site identifier

eventgroupIdstringrequired

Eventgroup unique identifier (UUID)

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

Responses

Eventgroup found

Bodyapplication/json
categorystringrequired

High-level category or type of event group (e.g., workflow, reminder-set, campaign).

createdAtstring(date-time)required

Timestamp when the event group was created.

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

Detailed description of the event group.

eventgroupIdstringrequired

Stable, opaque identifier for the event group.

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

Vendor- or practice-specific extensions.

locationIdstringrequired

Primary location associated with this event group, if applicable.

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

Human-readable name or label for the event group.

organizationIdstringrequired

Owning organization or practice for this event group.

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

Lifecycle status of the event group.

Enum"active""inactive""archived"
updatedAtstring(date-time)required

Timestamp when the event group was last updated.

Example: "2025-01-01T00:00:00.000Z"
Response
application/json
{ "category": "string", "createdAt": "2025-01-01T00:00:00.000Z", "description": "string", "eventgroupId": "123e4567-e89b-12d3-a456-426614174000", "extensions": {}, "locationId": "123e4567-e89b-12d3-a456-426614174000", "name": "string", "organizationId": "123e4567-e89b-12d3-a456-426614174000", "status": "active", "updatedAt": "2025-01-01T00:00:00.000Z" }

Request

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

Security
bearer
Path
siteIdnumberrequired

Site identifier

eventgroupIdstringrequired

Eventgroup unique identifier (UUID)

Bodyapplication/jsonrequired
categorystring

High-level category or type of event group (e.g., workflow, reminder-set, campaign).

descriptionstring

Detailed description of the event group.

extensionsobject

Vendor- or practice-specific extensions.

locationIdstring

Primary location associated with this event group, if applicable.

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

Human-readable name or label for the event group.

organizationIdstring

Owning organization or practice for this event group.

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

Lifecycle status of the event group.

Enum"active""inactive""archived"
curl -i -X PATCH \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/eventgroup/{eventgroupId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "category": "string",
    "description": "string",
    "extensions": {},
    "locationId": "123e4567-e89b-12d3-a456-426614174000",
    "name": "string",
    "organizationId": "123e4567-e89b-12d3-a456-426614174000",
    "status": "active"
  }'

Responses

Eventgroup updated successfully

Bodyapplication/json
categorystringrequired

High-level category or type of event group (e.g., workflow, reminder-set, campaign).

createdAtstring(date-time)required

Timestamp when the event group was created.

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

Detailed description of the event group.

eventgroupIdstringrequired

Stable, opaque identifier for the event group.

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

Vendor- or practice-specific extensions.

locationIdstringrequired

Primary location associated with this event group, if applicable.

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

Human-readable name or label for the event group.

organizationIdstringrequired

Owning organization or practice for this event group.

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

Lifecycle status of the event group.

Enum"active""inactive""archived"
updatedAtstring(date-time)required

Timestamp when the event group was last updated.

Example: "2025-01-01T00:00:00.000Z"
Response
application/json
{ "category": "string", "createdAt": "2025-01-01T00:00:00.000Z", "description": "string", "eventgroupId": "123e4567-e89b-12d3-a456-426614174000", "extensions": {}, "locationId": "123e4567-e89b-12d3-a456-426614174000", "name": "string", "organizationId": "123e4567-e89b-12d3-a456-426614174000", "status": "active", "updatedAt": "2025-01-01T00:00:00.000Z" }

Request

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

Security
bearer
Path
siteIdnumberrequired

Site identifier

eventgroupIdstringrequired

Eventgroup unique identifier (UUID)

Bodyapplication/jsonrequired
categorystringrequired

High-level category or type of event group (e.g., workflow, reminder-set, campaign).

descriptionstringrequired

Detailed description of the event group.

extensionsobjectrequired

Vendor- or practice-specific extensions.

locationIdstringrequired

Primary location associated with this event group, if applicable.

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

Human-readable name or label for the event group.

organizationIdstringrequired

Owning organization or practice for this event group.

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

Lifecycle status of the event group.

Enum"active""inactive""archived"
curl -i -X PUT \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/eventgroup/{eventgroupId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "category": "string",
    "description": "string",
    "extensions": {},
    "locationId": "123e4567-e89b-12d3-a456-426614174000",
    "name": "string",
    "organizationId": "123e4567-e89b-12d3-a456-426614174000",
    "status": "active"
  }'

Responses

Eventgroup replaced successfully

Bodyapplication/json
categorystringrequired

High-level category or type of event group (e.g., workflow, reminder-set, campaign).

createdAtstring(date-time)required

Timestamp when the event group was created.

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

Detailed description of the event group.

eventgroupIdstringrequired

Stable, opaque identifier for the event group.

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

Vendor- or practice-specific extensions.

locationIdstringrequired

Primary location associated with this event group, if applicable.

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

Human-readable name or label for the event group.

organizationIdstringrequired

Owning organization or practice for this event group.

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

Lifecycle status of the event group.

Enum"active""inactive""archived"
updatedAtstring(date-time)required

Timestamp when the event group was last updated.

Example: "2025-01-01T00:00:00.000Z"
Response
application/json
{ "category": "string", "createdAt": "2025-01-01T00:00:00.000Z", "description": "string", "eventgroupId": "123e4567-e89b-12d3-a456-426614174000", "extensions": {}, "locationId": "123e4567-e89b-12d3-a456-426614174000", "name": "string", "organizationId": "123e4567-e89b-12d3-a456-426614174000", "status": "active", "updatedAt": "2025-01-01T00:00:00.000Z" }

Request

Permanently deletes a Eventgroup record.

Security
bearer
Path
siteIdnumberrequired

Site identifier

eventgroupIdstringrequired

Eventgroup unique identifier (UUID)

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

Responses

Eventgroup 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