Animal Health Data Store - V1 API Documentation
AHDS Store API (1.0)
https://docs.heydonto.com/_mock/apis/animal-health/openapi/
http://localhost:8083/
Animal for which the diagnostic is requested.
Consult/visit associated with this diagnostic request.
Owner/client contact associated with this diagnostic request.
Canonical identifier for this diagnostic request.
List of individual diagnostic items/tests associated with this request.
Timestamp when this diagnostic item was created.
Reference to the diagnostic definition/catalog entry.
Canonical identifier for this diagnostic item within the request.
Linked billable product, if applicable.
Ownership or account context for this diagnostic request.
Business timestamp associated with the diagnostic request (e.g., order time).
Status of the diagnostic request.
Supplier or laboratory associated with this diagnostic request.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/diagnostic
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/diagnostic
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/diagnostic' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"animalId": "123e4567-e89b-12d3-a456-426614174000",
"consultId": "123e4567-e89b-12d3-a456-426614174000",
"contactId": "123e4567-e89b-12d3-a456-426614174000",
"details": "string",
"diagnosticId": "123e4567-e89b-12d3-a456-426614174000",
"extensions": {},
"isActive": true,
"items": [
{
"class": "string",
"code": {
"code": "string",
"system": "string",
"display": "string"
},
"createdAt": "2025-01-01T00:00:00.000Z",
"diagnosticDefinitionId": "123e4567-e89b-12d3-a456-426614174000",
"diagnosticItemId": "123e4567-e89b-12d3-a456-426614174000",
"isActive": true,
"name": "string",
"productId": "123e4567-e89b-12d3-a456-426614174000",
"updatedAt": "2025-01-01T00:00:00.000Z"
}
],
"ownershipId": "123e4567-e89b-12d3-a456-426614174000",
"referenceNumber": "string",
"requestedAt": "2025-01-01T00:00:00.000Z",
"status": "draft",
"supplierId": "123e4567-e89b-12d3-a456-426614174000",
"vetId": "123e4567-e89b-12d3-a456-426614174000"
}'Diagnostic created successfully
Animal for which the diagnostic is requested.
Consult/visit associated with this diagnostic request.
Owner/client contact associated with this diagnostic request.
Timestamp when the diagnostic request was created.
Canonical identifier for this diagnostic request.
List of individual diagnostic items/tests associated with this request.
Timestamp when this diagnostic item was created.
Reference to the diagnostic definition/catalog entry.
Canonical identifier for this diagnostic item within the request.
Linked billable product, if applicable.
Ownership or account context for this diagnostic request.
External or practice-specific reference number for this diagnostic request.
Business timestamp associated with the diagnostic request (e.g., order time).
Status of the diagnostic request.
Supplier or laboratory associated with this diagnostic request.
Timestamp when the diagnostic request was last updated.
{ "animalId": "123e4567-e89b-12d3-a456-426614174000", "consultId": "123e4567-e89b-12d3-a456-426614174000", "contactId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "details": "string", "diagnosticId": "123e4567-e89b-12d3-a456-426614174000", "extensions": {}, "isActive": true, "items": [ { … } ], "ownershipId": "123e4567-e89b-12d3-a456-426614174000", "referenceNumber": "string", "requestedAt": "2025-01-01T00:00:00.000Z", "status": "draft", "supplierId": "123e4567-e89b-12d3-a456-426614174000", "updatedAt": "2025-01-01T00:00:00.000Z", "vetId": "123e4567-e89b-12d3-a456-426614174000" }
Animal for which the diagnostic is requested.
Consult/visit associated with this diagnostic request.
Owner/client contact associated with this diagnostic request.
Ownership or account context for this diagnostic request.
Status of the diagnostic request.
Supplier or laboratory associated with this diagnostic request.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/diagnostic
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/diagnostic
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/diagnostic?page=0&pageSize=10&sortBy=createdAt&sortOrder=asc&animalId=123e4567-e89b-12d3-a456-426614174000&consultId=123e4567-e89b-12d3-a456-426614174000&contactId=123e4567-e89b-12d3-a456-426614174000&details=string&isActive=true&ownershipId=123e4567-e89b-12d3-a456-426614174000&referenceNumber=string&status=draft&supplierId=123e4567-e89b-12d3-a456-426614174000&vetId=123e4567-e89b-12d3-a456-426614174000' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/diagnostic/{diagnosticId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/diagnostic/{diagnosticId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/diagnostic/{diagnosticId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Diagnostic found
Animal for which the diagnostic is requested.
Consult/visit associated with this diagnostic request.
Owner/client contact associated with this diagnostic request.
Timestamp when the diagnostic request was created.
Canonical identifier for this diagnostic request.
List of individual diagnostic items/tests associated with this request.
Timestamp when this diagnostic item was created.
Reference to the diagnostic definition/catalog entry.
Canonical identifier for this diagnostic item within the request.
Linked billable product, if applicable.
Ownership or account context for this diagnostic request.
External or practice-specific reference number for this diagnostic request.
Business timestamp associated with the diagnostic request (e.g., order time).
Status of the diagnostic request.
Supplier or laboratory associated with this diagnostic request.
Timestamp when the diagnostic request was last updated.
{ "animalId": "123e4567-e89b-12d3-a456-426614174000", "consultId": "123e4567-e89b-12d3-a456-426614174000", "contactId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "details": "string", "diagnosticId": "123e4567-e89b-12d3-a456-426614174000", "extensions": {}, "isActive": true, "items": [ { … } ], "ownershipId": "123e4567-e89b-12d3-a456-426614174000", "referenceNumber": "string", "requestedAt": "2025-01-01T00:00:00.000Z", "status": "draft", "supplierId": "123e4567-e89b-12d3-a456-426614174000", "updatedAt": "2025-01-01T00:00:00.000Z", "vetId": "123e4567-e89b-12d3-a456-426614174000" }
Animal for which the diagnostic is requested.
Consult/visit associated with this diagnostic request.
Owner/client contact associated with this diagnostic request.
List of individual diagnostic items/tests associated with this request.
Ownership or account context for this diagnostic request.
Business timestamp associated with the diagnostic request (e.g., order time).
Status of the diagnostic request.
Supplier or laboratory associated with this diagnostic request.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/diagnostic/{diagnosticId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/diagnostic/{diagnosticId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/diagnostic/{diagnosticId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"animalId": "123e4567-e89b-12d3-a456-426614174000",
"consultId": "123e4567-e89b-12d3-a456-426614174000",
"contactId": "123e4567-e89b-12d3-a456-426614174000",
"details": "string",
"extensions": {},
"isActive": true,
"items": [
{
"class": "string",
"code": {
"code": "string",
"system": "string",
"display": "string"
},
"createdAt": "2025-01-01T00:00:00.000Z",
"diagnosticDefinitionId": "123e4567-e89b-12d3-a456-426614174000",
"diagnosticItemId": "123e4567-e89b-12d3-a456-426614174000",
"isActive": true,
"name": "string",
"productId": "123e4567-e89b-12d3-a456-426614174000",
"updatedAt": "2025-01-01T00:00:00.000Z"
}
],
"ownershipId": "123e4567-e89b-12d3-a456-426614174000",
"referenceNumber": "string",
"requestedAt": "2025-01-01T00:00:00.000Z",
"status": "draft",
"supplierId": "123e4567-e89b-12d3-a456-426614174000",
"vetId": "123e4567-e89b-12d3-a456-426614174000"
}'Diagnostic updated successfully
Animal for which the diagnostic is requested.
Consult/visit associated with this diagnostic request.
Owner/client contact associated with this diagnostic request.
Timestamp when the diagnostic request was created.
Canonical identifier for this diagnostic request.
List of individual diagnostic items/tests associated with this request.
Timestamp when this diagnostic item was created.
Reference to the diagnostic definition/catalog entry.
Canonical identifier for this diagnostic item within the request.
Linked billable product, if applicable.
Ownership or account context for this diagnostic request.
External or practice-specific reference number for this diagnostic request.
Business timestamp associated with the diagnostic request (e.g., order time).
Status of the diagnostic request.
Supplier or laboratory associated with this diagnostic request.
Timestamp when the diagnostic request was last updated.
{ "animalId": "123e4567-e89b-12d3-a456-426614174000", "consultId": "123e4567-e89b-12d3-a456-426614174000", "contactId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "details": "string", "diagnosticId": "123e4567-e89b-12d3-a456-426614174000", "extensions": {}, "isActive": true, "items": [ { … } ], "ownershipId": "123e4567-e89b-12d3-a456-426614174000", "referenceNumber": "string", "requestedAt": "2025-01-01T00:00:00.000Z", "status": "draft", "supplierId": "123e4567-e89b-12d3-a456-426614174000", "updatedAt": "2025-01-01T00:00:00.000Z", "vetId": "123e4567-e89b-12d3-a456-426614174000" }
Animal for which the diagnostic is requested.
Consult/visit associated with this diagnostic request.
Owner/client contact associated with this diagnostic request.
List of individual diagnostic items/tests associated with this request.
Timestamp when this diagnostic item was created.
Reference to the diagnostic definition/catalog entry.
Canonical identifier for this diagnostic item within the request.
Linked billable product, if applicable.
Ownership or account context for this diagnostic request.
External or practice-specific reference number for this diagnostic request.
Business timestamp associated with the diagnostic request (e.g., order time).
Status of the diagnostic request.
Supplier or laboratory associated with this diagnostic request.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/diagnostic/{diagnosticId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/diagnostic/{diagnosticId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/diagnostic/{diagnosticId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"animalId": "123e4567-e89b-12d3-a456-426614174000",
"consultId": "123e4567-e89b-12d3-a456-426614174000",
"contactId": "123e4567-e89b-12d3-a456-426614174000",
"details": "string",
"extensions": {},
"isActive": true,
"items": [
{
"class": "string",
"code": {
"code": "string",
"system": "string",
"display": "string"
},
"createdAt": "2025-01-01T00:00:00.000Z",
"diagnosticDefinitionId": "123e4567-e89b-12d3-a456-426614174000",
"diagnosticItemId": "123e4567-e89b-12d3-a456-426614174000",
"isActive": true,
"name": "string",
"productId": "123e4567-e89b-12d3-a456-426614174000",
"updatedAt": "2025-01-01T00:00:00.000Z"
}
],
"ownershipId": "123e4567-e89b-12d3-a456-426614174000",
"referenceNumber": "string",
"requestedAt": "2025-01-01T00:00:00.000Z",
"status": "draft",
"supplierId": "123e4567-e89b-12d3-a456-426614174000",
"vetId": "123e4567-e89b-12d3-a456-426614174000"
}'Diagnostic replaced successfully
Animal for which the diagnostic is requested.
Consult/visit associated with this diagnostic request.
Owner/client contact associated with this diagnostic request.
Timestamp when the diagnostic request was created.
Canonical identifier for this diagnostic request.
List of individual diagnostic items/tests associated with this request.
Timestamp when this diagnostic item was created.
Reference to the diagnostic definition/catalog entry.
Canonical identifier for this diagnostic item within the request.
Linked billable product, if applicable.
Ownership or account context for this diagnostic request.
External or practice-specific reference number for this diagnostic request.
Business timestamp associated with the diagnostic request (e.g., order time).
Status of the diagnostic request.
Supplier or laboratory associated with this diagnostic request.
Timestamp when the diagnostic request was last updated.
{ "animalId": "123e4567-e89b-12d3-a456-426614174000", "consultId": "123e4567-e89b-12d3-a456-426614174000", "contactId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "details": "string", "diagnosticId": "123e4567-e89b-12d3-a456-426614174000", "extensions": {}, "isActive": true, "items": [ { … } ], "ownershipId": "123e4567-e89b-12d3-a456-426614174000", "referenceNumber": "string", "requestedAt": "2025-01-01T00:00:00.000Z", "status": "draft", "supplierId": "123e4567-e89b-12d3-a456-426614174000", "updatedAt": "2025-01-01T00:00:00.000Z", "vetId": "123e4567-e89b-12d3-a456-426614174000" }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/diagnostic/{diagnosticId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/diagnostic/{diagnosticId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/diagnostic/{diagnosticId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'