Animal Health Data Store - V1 API Documentation
AHDS Store API (1.0)
https://docs.heydonto.com/_mock/apis/animal-health/openapi/
http://localhost:8083/
Identifier of the parent prescription.
Canonical identifier for this prescription item.
Identifier of the prescribed product.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/prescription-item
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/prescription-item
- 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/prescription-item' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"extensions": {},
"instructions": "string",
"isActive": true,
"prescriptionId": "123e4567-e89b-12d3-a456-426614174000",
"prescriptionItemId": "123e4567-e89b-12d3-a456-426614174000",
"productId": "123e4567-e89b-12d3-a456-426614174000",
"quantityPrescribed": 0,
"quantityRemaining": 0,
"serialNumber": "string",
"startDate": "2025-01-01"
}'Prescription Item created successfully
Timestamp when the prescription item was created.
Free-text administration or usage instructions for this prescription item.
Identifier of the parent prescription.
Canonical identifier for this prescription item.
Identifier of the prescribed product.
Serial number associated with this prescription item, if applicable.
Date when the prescription item becomes valid.
{ "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "instructions": "string", "isActive": true, "prescriptionId": "123e4567-e89b-12d3-a456-426614174000", "prescriptionItemId": "123e4567-e89b-12d3-a456-426614174000", "productId": "123e4567-e89b-12d3-a456-426614174000", "quantityPrescribed": 0, "quantityRemaining": 0, "serialNumber": "string", "startDate": "2025-01-01T00:00:00Z", "updatedAt": "2025-01-01T00:00:00.000Z" }
Field to sort by
Identifier of the parent prescription.
Identifier of the prescribed product.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/prescription-item
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/prescription-item
- 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/prescription-item?page=0&pageSize=10&sortBy=createdAt&sortOrder=asc&instructions=string&isActive=true&prescriptionId=123e4567-e89b-12d3-a456-426614174000&productId=123e4567-e89b-12d3-a456-426614174000&serialNumber=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/prescription-item/{prescriptionItemId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/prescription-item/{prescriptionItemId}
- 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/prescription-item/{prescriptionItemId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Prescription Item found
Timestamp when the prescription item was created.
Free-text administration or usage instructions for this prescription item.
Identifier of the parent prescription.
Canonical identifier for this prescription item.
Identifier of the prescribed product.
Serial number associated with this prescription item, if applicable.
Date when the prescription item becomes valid.
{ "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "instructions": "string", "isActive": true, "prescriptionId": "123e4567-e89b-12d3-a456-426614174000", "prescriptionItemId": "123e4567-e89b-12d3-a456-426614174000", "productId": "123e4567-e89b-12d3-a456-426614174000", "quantityPrescribed": 0, "quantityRemaining": 0, "serialNumber": "string", "startDate": "2025-01-01T00:00:00Z", "updatedAt": "2025-01-01T00:00:00.000Z" }
Identifier of the parent prescription.
Identifier of the prescribed product.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/prescription-item/{prescriptionItemId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/prescription-item/{prescriptionItemId}
- 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/prescription-item/{prescriptionItemId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"extensions": {},
"instructions": "string",
"isActive": true,
"prescriptionId": "123e4567-e89b-12d3-a456-426614174000",
"productId": "123e4567-e89b-12d3-a456-426614174000",
"quantityPrescribed": 0,
"quantityRemaining": 0,
"serialNumber": "string",
"startDate": "2025-01-01"
}'Prescription Item updated successfully
Timestamp when the prescription item was created.
Free-text administration or usage instructions for this prescription item.
Identifier of the parent prescription.
Canonical identifier for this prescription item.
Identifier of the prescribed product.
Serial number associated with this prescription item, if applicable.
Date when the prescription item becomes valid.
{ "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "instructions": "string", "isActive": true, "prescriptionId": "123e4567-e89b-12d3-a456-426614174000", "prescriptionItemId": "123e4567-e89b-12d3-a456-426614174000", "productId": "123e4567-e89b-12d3-a456-426614174000", "quantityPrescribed": 0, "quantityRemaining": 0, "serialNumber": "string", "startDate": "2025-01-01T00:00:00Z", "updatedAt": "2025-01-01T00:00:00.000Z" }
Free-text administration or usage instructions for this prescription item.
Identifier of the parent prescription.
Identifier of the prescribed product.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/prescription-item/{prescriptionItemId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/prescription-item/{prescriptionItemId}
- 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/prescription-item/{prescriptionItemId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"extensions": {},
"instructions": "string",
"isActive": true,
"prescriptionId": "123e4567-e89b-12d3-a456-426614174000",
"productId": "123e4567-e89b-12d3-a456-426614174000",
"quantityPrescribed": 0,
"quantityRemaining": 0,
"serialNumber": "string",
"startDate": "2025-01-01"
}'Prescription Item replaced successfully
Timestamp when the prescription item was created.
Free-text administration or usage instructions for this prescription item.
Identifier of the parent prescription.
Canonical identifier for this prescription item.
Identifier of the prescribed product.
Serial number associated with this prescription item, if applicable.
Date when the prescription item becomes valid.
{ "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "instructions": "string", "isActive": true, "prescriptionId": "123e4567-e89b-12d3-a456-426614174000", "prescriptionItemId": "123e4567-e89b-12d3-a456-426614174000", "productId": "123e4567-e89b-12d3-a456-426614174000", "quantityPrescribed": 0, "quantityRemaining": 0, "serialNumber": "string", "startDate": "2025-01-01T00:00:00Z", "updatedAt": "2025-01-01T00:00:00.000Z" }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/prescription-item/{prescriptionItemId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/prescription-item/{prescriptionItemId}
- 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/prescription-item/{prescriptionItemId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'