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

Request

Returns a single Wellness Resource by its unique identifier.

Security
bearer
Path
siteIdnumberrequired

Site identifier

resourceIdstringrequired

Wellness Resource unique identifier (UUID)

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

Responses

Wellness Resource found

Bodyapplication/json
createdAtstring(date-time)required

Timestamp when the wellness resource was created.

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

Detailed description of the wellness resource.

extensionsobjectrequired

Vendor- or practice-specific extensions.

isActivebooleanrequired

Indicates whether the wellness resource is currently active and available for use.

namestringrequired

Human-readable name of the wellness resource.

resourceIdstringrequired

Stable, opaque identifier for the wellness resource.

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

High-level classification of the wellness resource.

Enum"wellnessPlan""wellnessProgram""wellnessPackage""preventiveCareBundle""other"
statusstringrequired

Lifecycle status of the wellness resource.

Enum"draft""active""inactive""retired"
updatedAtstring(date-time)required

Timestamp when the wellness resource was last updated.

Example: "2025-01-01T00:00:00.000Z"
validFromDatestring(date-time)required

Date from which the wellness resource is valid.

Example: "2025-01-01T00:00:00Z"
validToDatestring(date-time)required

Date until which the wellness resource is valid, if applicable.

Example: "2025-01-01T00:00:00Z"
Response
application/json
{ "createdAt": "2025-01-01T00:00:00.000Z", "description": "string", "extensions": {}, "isActive": true, "name": "string", "resourceId": "123e4567-e89b-12d3-a456-426614174000", "resourceType": "wellnessPlan", "status": "draft", "updatedAt": "2025-01-01T00:00:00.000Z", "validFromDate": "2025-01-01T00:00:00Z", "validToDate": "2025-01-01T00:00:00Z" }

Request

Partially updates an existing Wellness Resource. Only provided fields will be updated.

Security
bearer
Path
siteIdnumberrequired

Site identifier

resourceIdstringrequired

Wellness Resource unique identifier (UUID)

Bodyapplication/jsonrequired
descriptionstring

Detailed description of the wellness resource.

extensionsobject

Vendor- or practice-specific extensions.

isActiveboolean

Indicates whether the wellness resource is currently active and available for use.

namestring

Human-readable name of the wellness resource.

resourceTypestring

High-level classification of the wellness resource.

Enum"wellnessPlan""wellnessProgram""wellnessPackage""preventiveCareBundle""other"
statusstring

Lifecycle status of the wellness resource.

Enum"draft""active""inactive""retired"
validFromDatestring

Date from which the wellness resource is valid.

Example: "2025-01-01"
validToDatestring

Date until which the wellness resource is valid, if applicable.

Example: "2025-01-01"
curl -i -X PATCH \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/wellness-resource/{resourceId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "description": "string",
    "extensions": {},
    "isActive": true,
    "name": "string",
    "resourceType": "wellnessPlan",
    "status": "draft",
    "validFromDate": "2025-01-01",
    "validToDate": "2025-01-01"
  }'

Responses

Wellness Resource updated successfully

Bodyapplication/json
createdAtstring(date-time)required

Timestamp when the wellness resource was created.

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

Detailed description of the wellness resource.

extensionsobjectrequired

Vendor- or practice-specific extensions.

isActivebooleanrequired

Indicates whether the wellness resource is currently active and available for use.

namestringrequired

Human-readable name of the wellness resource.

resourceIdstringrequired

Stable, opaque identifier for the wellness resource.

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

High-level classification of the wellness resource.

Enum"wellnessPlan""wellnessProgram""wellnessPackage""preventiveCareBundle""other"
statusstringrequired

Lifecycle status of the wellness resource.

Enum"draft""active""inactive""retired"
updatedAtstring(date-time)required

Timestamp when the wellness resource was last updated.

Example: "2025-01-01T00:00:00.000Z"
validFromDatestring(date-time)required

Date from which the wellness resource is valid.

Example: "2025-01-01T00:00:00Z"
validToDatestring(date-time)required

Date until which the wellness resource is valid, if applicable.

Example: "2025-01-01T00:00:00Z"
Response
application/json
{ "createdAt": "2025-01-01T00:00:00.000Z", "description": "string", "extensions": {}, "isActive": true, "name": "string", "resourceId": "123e4567-e89b-12d3-a456-426614174000", "resourceType": "wellnessPlan", "status": "draft", "updatedAt": "2025-01-01T00:00:00.000Z", "validFromDate": "2025-01-01T00:00:00Z", "validToDate": "2025-01-01T00:00:00Z" }

Request

Fully replaces an existing Wellness Resource. All fields must be provided.

Security
bearer
Path
siteIdnumberrequired

Site identifier

resourceIdstringrequired

Wellness Resource unique identifier (UUID)

Bodyapplication/jsonrequired
descriptionstringrequired

Detailed description of the wellness resource.

extensionsobjectrequired

Vendor- or practice-specific extensions.

isActivebooleanrequired

Indicates whether the wellness resource is currently active and available for use.

namestringrequired

Human-readable name of the wellness resource.

resourceTypestringrequired

High-level classification of the wellness resource.

Enum"wellnessPlan""wellnessProgram""wellnessPackage""preventiveCareBundle""other"
statusstringrequired

Lifecycle status of the wellness resource.

Enum"draft""active""inactive""retired"
validFromDatestringrequired

Date from which the wellness resource is valid.

Example: "2025-01-01"
validToDatestringrequired

Date until which the wellness resource is valid, if applicable.

Example: "2025-01-01"
curl -i -X PUT \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/wellness-resource/{resourceId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "description": "string",
    "extensions": {},
    "isActive": true,
    "name": "string",
    "resourceType": "wellnessPlan",
    "status": "draft",
    "validFromDate": "2025-01-01",
    "validToDate": "2025-01-01"
  }'

Responses

Wellness Resource replaced successfully

Bodyapplication/json
createdAtstring(date-time)required

Timestamp when the wellness resource was created.

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

Detailed description of the wellness resource.

extensionsobjectrequired

Vendor- or practice-specific extensions.

isActivebooleanrequired

Indicates whether the wellness resource is currently active and available for use.

namestringrequired

Human-readable name of the wellness resource.

resourceIdstringrequired

Stable, opaque identifier for the wellness resource.

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

High-level classification of the wellness resource.

Enum"wellnessPlan""wellnessProgram""wellnessPackage""preventiveCareBundle""other"
statusstringrequired

Lifecycle status of the wellness resource.

Enum"draft""active""inactive""retired"
updatedAtstring(date-time)required

Timestamp when the wellness resource was last updated.

Example: "2025-01-01T00:00:00.000Z"
validFromDatestring(date-time)required

Date from which the wellness resource is valid.

Example: "2025-01-01T00:00:00Z"
validToDatestring(date-time)required

Date until which the wellness resource is valid, if applicable.

Example: "2025-01-01T00:00:00Z"
Response
application/json
{ "createdAt": "2025-01-01T00:00:00.000Z", "description": "string", "extensions": {}, "isActive": true, "name": "string", "resourceId": "123e4567-e89b-12d3-a456-426614174000", "resourceType": "wellnessPlan", "status": "draft", "updatedAt": "2025-01-01T00:00:00.000Z", "validFromDate": "2025-01-01T00:00:00Z", "validToDate": "2025-01-01T00:00:00Z" }
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations