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

Request

Returns a single Modality by its unique identifier.

Security
bearer
Path
siteIdnumberrequired

Site identifier

modalityIdstringrequired

Modality unique identifier (UUID)

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

Responses

Modality found

Bodyapplication/json
codestringrequired

Practice- or system-specific code for the modality (e.g., 'XR', 'US').

descriptionstring or nullrequired

Optional description of the modality.

extensionsobjectrequired

Vendor- or practice-specific extension fields.

isActivebooleanrequired

Indicates whether this modality is active and can be used.

modalityIdstringrequired

Canonical unique identifier for the modality.

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

Human-readable name of the modality.

Response
application/json
{ "code": "string", "description": "string", "extensions": {}, "isActive": true, "modalityId": "123e4567-e89b-12d3-a456-426614174000", "name": "string" }

Request

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

Security
bearer
Path
siteIdnumberrequired

Site identifier

modalityIdstringrequired

Modality unique identifier (UUID)

Bodyapplication/jsonrequired
codestring

Practice- or system-specific code for the modality (e.g., 'XR', 'US').

descriptionstring or null

Optional description of the modality.

extensionsobject

Vendor- or practice-specific extension fields.

isActiveboolean

Indicates whether this modality is active and can be used.

namestring

Human-readable name of the modality.

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

Responses

Modality updated successfully

Bodyapplication/json
codestringrequired

Practice- or system-specific code for the modality (e.g., 'XR', 'US').

descriptionstring or nullrequired

Optional description of the modality.

extensionsobjectrequired

Vendor- or practice-specific extension fields.

isActivebooleanrequired

Indicates whether this modality is active and can be used.

modalityIdstringrequired

Canonical unique identifier for the modality.

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

Human-readable name of the modality.

Response
application/json
{ "code": "string", "description": "string", "extensions": {}, "isActive": true, "modalityId": "123e4567-e89b-12d3-a456-426614174000", "name": "string" }

Request

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

Security
bearer
Path
siteIdnumberrequired

Site identifier

modalityIdstringrequired

Modality unique identifier (UUID)

Bodyapplication/jsonrequired
codestringrequired

Practice- or system-specific code for the modality (e.g., 'XR', 'US').

descriptionstring or null

Optional description of the modality.

extensionsobjectrequired

Vendor- or practice-specific extension fields.

isActivebooleanrequired

Indicates whether this modality is active and can be used.

namestringrequired

Human-readable name of the modality.

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

Responses

Modality replaced successfully

Bodyapplication/json
codestringrequired

Practice- or system-specific code for the modality (e.g., 'XR', 'US').

descriptionstring or nullrequired

Optional description of the modality.

extensionsobjectrequired

Vendor- or practice-specific extension fields.

isActivebooleanrequired

Indicates whether this modality is active and can be used.

modalityIdstringrequired

Canonical unique identifier for the modality.

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

Human-readable name of the modality.

Response
application/json
{ "code": "string", "description": "string", "extensions": {}, "isActive": true, "modalityId": "123e4567-e89b-12d3-a456-426614174000", "name": "string" }
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations