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 External Hotlink record. External Hotlink resource in the Animal Health Data Store

Security
bearer
Path
siteIdnumberrequired

Site identifier

Bodyapplication/jsonrequired
descriptionstring

Human-readable description or label for the hotlink.

extensionsobject

Vendor- or practice-specific extensions.

externalHotlinkIdstringrequired

Canonical identifier for this external hotlink.

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

Identifier of the resource this hotlink is associated with.

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

Type of resource this hotlink is associated with (e.g., animal, contact, invoice).

statusstring

Lifecycle status of the external hotlink.

Enum"active""inactive"
urlstringrequired

Target URL of the external hotlink.

curl -i -X POST \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/external-hotlink' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "description": "string",
    "extensions": {},
    "externalHotlinkId": "123e4567-e89b-12d3-a456-426614174000",
    "resourceId": "123e4567-e89b-12d3-a456-426614174000",
    "resourceType": "string",
    "status": "active",
    "url": "string"
  }'

Responses

External Hotlink created successfully

Bodyapplication/json
createdAtstring(date-time)required

Timestamp when this hotlink was created.

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

Human-readable description or label for the hotlink.

extensionsobjectrequired

Vendor- or practice-specific extensions.

externalHotlinkIdstringrequired

Canonical identifier for this external hotlink.

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

Identifier of the resource this hotlink is associated with.

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

Type of resource this hotlink is associated with (e.g., animal, contact, invoice).

statusstringrequired

Lifecycle status of the external hotlink.

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

Timestamp when this hotlink was last updated.

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

Target URL of the external hotlink.

Response
application/json
{ "createdAt": "2025-01-01T00:00:00.000Z", "description": "string", "extensions": {}, "externalHotlinkId": "123e4567-e89b-12d3-a456-426614174000", "resourceId": "123e4567-e89b-12d3-a456-426614174000", "resourceType": "string", "status": "active", "updatedAt": "2025-01-01T00:00:00.000Z", "url": "string" }

Request

Returns a paginated list of External Hotlinks 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""description""resourceType""url"
sortOrderstring

Sort order

Default "asc"
Enum"asc""desc"
descriptionstring

Human-readable description or label for the hotlink.

resourceIdstring

Identifier of the resource this hotlink is associated with.

Example: resourceId=123e4567-e89b-12d3-a456-426614174000
resourceTypestring

Type of resource this hotlink is associated with (e.g., animal, contact, invoice).

statusstring

Lifecycle status of the external hotlink.

Enum"active""inactive"
urlstring

Target URL of the external hotlink.

curl -i -X GET \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/external-hotlink?page=0&pageSize=10&sortBy=createdAt&sortOrder=asc&description=string&resourceId=123e4567-e89b-12d3-a456-426614174000&resourceType=string&status=active&url=string' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Paginated list of External Hotlinks

Request

Returns a single External Hotlink by its unique identifier.

Security
bearer
Path
siteIdnumberrequired

Site identifier

externalHotlinkIdstringrequired

External Hotlink unique identifier (UUID)

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

Responses

External Hotlink found

Bodyapplication/json
createdAtstring(date-time)required

Timestamp when this hotlink was created.

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

Human-readable description or label for the hotlink.

extensionsobjectrequired

Vendor- or practice-specific extensions.

externalHotlinkIdstringrequired

Canonical identifier for this external hotlink.

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

Identifier of the resource this hotlink is associated with.

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

Type of resource this hotlink is associated with (e.g., animal, contact, invoice).

statusstringrequired

Lifecycle status of the external hotlink.

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

Timestamp when this hotlink was last updated.

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

Target URL of the external hotlink.

Response
application/json
{ "createdAt": "2025-01-01T00:00:00.000Z", "description": "string", "extensions": {}, "externalHotlinkId": "123e4567-e89b-12d3-a456-426614174000", "resourceId": "123e4567-e89b-12d3-a456-426614174000", "resourceType": "string", "status": "active", "updatedAt": "2025-01-01T00:00:00.000Z", "url": "string" }

Request

Partially updates an existing External Hotlink. Only provided fields will be updated.

Security
bearer
Path
siteIdnumberrequired

Site identifier

externalHotlinkIdstringrequired

External Hotlink unique identifier (UUID)

Bodyapplication/jsonrequired
descriptionstring

Human-readable description or label for the hotlink.

extensionsobject

Vendor- or practice-specific extensions.

resourceIdstring

Identifier of the resource this hotlink is associated with.

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

Type of resource this hotlink is associated with (e.g., animal, contact, invoice).

statusstring

Lifecycle status of the external hotlink.

Enum"active""inactive"
urlstring

Target URL of the external hotlink.

curl -i -X PATCH \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/external-hotlink/{externalHotlinkId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "description": "string",
    "extensions": {},
    "resourceId": "123e4567-e89b-12d3-a456-426614174000",
    "resourceType": "string",
    "status": "active",
    "url": "string"
  }'

Responses

External Hotlink updated successfully

Bodyapplication/json
createdAtstring(date-time)required

Timestamp when this hotlink was created.

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

Human-readable description or label for the hotlink.

extensionsobjectrequired

Vendor- or practice-specific extensions.

externalHotlinkIdstringrequired

Canonical identifier for this external hotlink.

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

Identifier of the resource this hotlink is associated with.

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

Type of resource this hotlink is associated with (e.g., animal, contact, invoice).

statusstringrequired

Lifecycle status of the external hotlink.

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

Timestamp when this hotlink was last updated.

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

Target URL of the external hotlink.

Response
application/json
{ "createdAt": "2025-01-01T00:00:00.000Z", "description": "string", "extensions": {}, "externalHotlinkId": "123e4567-e89b-12d3-a456-426614174000", "resourceId": "123e4567-e89b-12d3-a456-426614174000", "resourceType": "string", "status": "active", "updatedAt": "2025-01-01T00:00:00.000Z", "url": "string" }

Request

Fully replaces an existing External Hotlink. All fields must be provided.

Security
bearer
Path
siteIdnumberrequired

Site identifier

externalHotlinkIdstringrequired

External Hotlink unique identifier (UUID)

Bodyapplication/jsonrequired
descriptionstringrequired

Human-readable description or label for the hotlink.

extensionsobjectrequired

Vendor- or practice-specific extensions.

resourceIdstringrequired

Identifier of the resource this hotlink is associated with.

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

Type of resource this hotlink is associated with (e.g., animal, contact, invoice).

statusstringrequired

Lifecycle status of the external hotlink.

Enum"active""inactive"
urlstringrequired

Target URL of the external hotlink.

curl -i -X PUT \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/external-hotlink/{externalHotlinkId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "description": "string",
    "extensions": {},
    "resourceId": "123e4567-e89b-12d3-a456-426614174000",
    "resourceType": "string",
    "status": "active",
    "url": "string"
  }'

Responses

External Hotlink replaced successfully

Bodyapplication/json
createdAtstring(date-time)required

Timestamp when this hotlink was created.

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

Human-readable description or label for the hotlink.

extensionsobjectrequired

Vendor- or practice-specific extensions.

externalHotlinkIdstringrequired

Canonical identifier for this external hotlink.

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

Identifier of the resource this hotlink is associated with.

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

Type of resource this hotlink is associated with (e.g., animal, contact, invoice).

statusstringrequired

Lifecycle status of the external hotlink.

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

Timestamp when this hotlink was last updated.

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

Target URL of the external hotlink.

Response
application/json
{ "createdAt": "2025-01-01T00:00:00.000Z", "description": "string", "extensions": {}, "externalHotlinkId": "123e4567-e89b-12d3-a456-426614174000", "resourceId": "123e4567-e89b-12d3-a456-426614174000", "resourceType": "string", "status": "active", "updatedAt": "2025-01-01T00:00:00.000Z", "url": "string" }

Request

Permanently deletes a External Hotlink record.

Security
bearer
Path
siteIdnumberrequired

Site identifier

externalHotlinkIdstringrequired

External Hotlink unique identifier (UUID)

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

Responses

External Hotlink 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