Animal Health Data Store - V1 API Documentation
AHDS Store API (1.0)
https://docs.heydonto.com/_mock/apis/animal-health/openapi/
http://localhost:8083/
Calendar date when this minimum stock configuration stops being effective, if seasonally constrained.
Calendar date when this minimum stock configuration becomes effective, if seasonally constrained.
Identifier for the location/ownership context this minimum stock applies to (e.g., clinic location or inventory owner).
Reference to the product this minimum stock configuration applies to.
Canonical identifier for this product minimum stock configuration.
Expression or value used to calculate reorder quantity, interpreted in conjunction with shouldReorderToMaxLevel and current quantity on hand.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/product-minimum-stock
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/product-minimum-stock
- 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/product-minimum-stock' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"effectiveEndDate": "2025-01-01",
"effectiveStartDate": "2025-01-01",
"extensions": {},
"isActive": true,
"locationOwnershipId": "123e4567-e89b-12d3-a456-426614174000",
"minimumStockQuantity": {
"value": 0,
"unit": "string",
"system": "string"
},
"productId": "123e4567-e89b-12d3-a456-426614174000",
"productMinimumStockId": "123e4567-e89b-12d3-a456-426614174000",
"reorderQuantityExpression": "string",
"shouldReorderToMaxLevel": true
}'Product Minimum Stock created successfully
Timestamp when this record was created.
Calendar date when this minimum stock configuration stops being effective, if seasonally constrained.
Calendar date when this minimum stock configuration becomes effective, if seasonally constrained.
Identifier for the location/ownership context this minimum stock applies to (e.g., clinic location or inventory owner).
Reference to the product this minimum stock configuration applies to.
Canonical identifier for this product minimum stock configuration.
Expression or value used to calculate reorder quantity, interpreted in conjunction with shouldReorderToMaxLevel and current quantity on hand.
If true, reorder so that quantity on hand reaches the target maximum level; if false, reorder at least the suggested quantity.
{ "createdAt": "2025-01-01T00:00:00.000Z", "effectiveEndDate": "2025-01-01T00:00:00Z", "effectiveStartDate": "2025-01-01T00:00:00Z", "extensions": {}, "isActive": true, "locationOwnershipId": "123e4567-e89b-12d3-a456-426614174000", "minimumStockQuantity": { "value": 0, "unit": "string", "system": "string" }, "productId": "123e4567-e89b-12d3-a456-426614174000", "productMinimumStockId": "123e4567-e89b-12d3-a456-426614174000", "reorderQuantityExpression": "string", "shouldReorderToMaxLevel": true, "updatedAt": "2025-01-01T00:00:00.000Z" }
Field to sort by
Identifier for the location/ownership context this minimum stock applies to (e.g., clinic location or inventory owner).
Reference to the product this minimum stock configuration applies to.
Expression or value used to calculate reorder quantity, interpreted in conjunction with shouldReorderToMaxLevel and current quantity on hand.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/product-minimum-stock
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/product-minimum-stock
- 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/product-minimum-stock?page=0&pageSize=10&sortBy=createdAt&sortOrder=asc&isActive=true&locationOwnershipId=123e4567-e89b-12d3-a456-426614174000&productId=123e4567-e89b-12d3-a456-426614174000&reorderQuantityExpression=string&shouldReorderToMaxLevel=true' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/product-minimum-stock/{productMinimumStockId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/product-minimum-stock/{productMinimumStockId}
- 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/product-minimum-stock/{productMinimumStockId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Product Minimum Stock found
Timestamp when this record was created.
Calendar date when this minimum stock configuration stops being effective, if seasonally constrained.
Calendar date when this minimum stock configuration becomes effective, if seasonally constrained.
Identifier for the location/ownership context this minimum stock applies to (e.g., clinic location or inventory owner).
Reference to the product this minimum stock configuration applies to.
Canonical identifier for this product minimum stock configuration.
Expression or value used to calculate reorder quantity, interpreted in conjunction with shouldReorderToMaxLevel and current quantity on hand.
If true, reorder so that quantity on hand reaches the target maximum level; if false, reorder at least the suggested quantity.
{ "createdAt": "2025-01-01T00:00:00.000Z", "effectiveEndDate": "2025-01-01T00:00:00Z", "effectiveStartDate": "2025-01-01T00:00:00Z", "extensions": {}, "isActive": true, "locationOwnershipId": "123e4567-e89b-12d3-a456-426614174000", "minimumStockQuantity": { "value": 0, "unit": "string", "system": "string" }, "productId": "123e4567-e89b-12d3-a456-426614174000", "productMinimumStockId": "123e4567-e89b-12d3-a456-426614174000", "reorderQuantityExpression": "string", "shouldReorderToMaxLevel": true, "updatedAt": "2025-01-01T00:00:00.000Z" }
Calendar date when this minimum stock configuration stops being effective, if seasonally constrained.
Calendar date when this minimum stock configuration becomes effective, if seasonally constrained.
Identifier for the location/ownership context this minimum stock applies to (e.g., clinic location or inventory owner).
Reference to the product this minimum stock configuration applies to.
Expression or value used to calculate reorder quantity, interpreted in conjunction with shouldReorderToMaxLevel and current quantity on hand.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/product-minimum-stock/{productMinimumStockId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/product-minimum-stock/{productMinimumStockId}
- 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/product-minimum-stock/{productMinimumStockId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"effectiveEndDate": "2025-01-01",
"effectiveStartDate": "2025-01-01",
"extensions": {},
"isActive": true,
"locationOwnershipId": "123e4567-e89b-12d3-a456-426614174000",
"minimumStockQuantity": {
"value": 0,
"unit": "string",
"system": "string"
},
"productId": "123e4567-e89b-12d3-a456-426614174000",
"reorderQuantityExpression": "string",
"shouldReorderToMaxLevel": true
}'Product Minimum Stock updated successfully
Timestamp when this record was created.
Calendar date when this minimum stock configuration stops being effective, if seasonally constrained.
Calendar date when this minimum stock configuration becomes effective, if seasonally constrained.
Identifier for the location/ownership context this minimum stock applies to (e.g., clinic location or inventory owner).
Reference to the product this minimum stock configuration applies to.
Canonical identifier for this product minimum stock configuration.
Expression or value used to calculate reorder quantity, interpreted in conjunction with shouldReorderToMaxLevel and current quantity on hand.
If true, reorder so that quantity on hand reaches the target maximum level; if false, reorder at least the suggested quantity.
{ "createdAt": "2025-01-01T00:00:00.000Z", "effectiveEndDate": "2025-01-01T00:00:00Z", "effectiveStartDate": "2025-01-01T00:00:00Z", "extensions": {}, "isActive": true, "locationOwnershipId": "123e4567-e89b-12d3-a456-426614174000", "minimumStockQuantity": { "value": 0, "unit": "string", "system": "string" }, "productId": "123e4567-e89b-12d3-a456-426614174000", "productMinimumStockId": "123e4567-e89b-12d3-a456-426614174000", "reorderQuantityExpression": "string", "shouldReorderToMaxLevel": true, "updatedAt": "2025-01-01T00:00:00.000Z" }
Calendar date when this minimum stock configuration stops being effective, if seasonally constrained.
Calendar date when this minimum stock configuration becomes effective, if seasonally constrained.
Identifier for the location/ownership context this minimum stock applies to (e.g., clinic location or inventory owner).
Reference to the product this minimum stock configuration applies to.
Expression or value used to calculate reorder quantity, interpreted in conjunction with shouldReorderToMaxLevel and current quantity on hand.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/product-minimum-stock/{productMinimumStockId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/product-minimum-stock/{productMinimumStockId}
- 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/product-minimum-stock/{productMinimumStockId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"effectiveEndDate": "2025-01-01",
"effectiveStartDate": "2025-01-01",
"extensions": {},
"isActive": true,
"locationOwnershipId": "123e4567-e89b-12d3-a456-426614174000",
"minimumStockQuantity": {
"value": 0,
"unit": "string",
"system": "string"
},
"productId": "123e4567-e89b-12d3-a456-426614174000",
"reorderQuantityExpression": "string",
"shouldReorderToMaxLevel": true
}'Product Minimum Stock replaced successfully
Timestamp when this record was created.
Calendar date when this minimum stock configuration stops being effective, if seasonally constrained.
Calendar date when this minimum stock configuration becomes effective, if seasonally constrained.
Identifier for the location/ownership context this minimum stock applies to (e.g., clinic location or inventory owner).
Reference to the product this minimum stock configuration applies to.
Canonical identifier for this product minimum stock configuration.
Expression or value used to calculate reorder quantity, interpreted in conjunction with shouldReorderToMaxLevel and current quantity on hand.
If true, reorder so that quantity on hand reaches the target maximum level; if false, reorder at least the suggested quantity.
{ "createdAt": "2025-01-01T00:00:00.000Z", "effectiveEndDate": "2025-01-01T00:00:00Z", "effectiveStartDate": "2025-01-01T00:00:00Z", "extensions": {}, "isActive": true, "locationOwnershipId": "123e4567-e89b-12d3-a456-426614174000", "minimumStockQuantity": { "value": 0, "unit": "string", "system": "string" }, "productId": "123e4567-e89b-12d3-a456-426614174000", "productMinimumStockId": "123e4567-e89b-12d3-a456-426614174000", "reorderQuantityExpression": "string", "shouldReorderToMaxLevel": true, "updatedAt": "2025-01-01T00:00:00.000Z" }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/product-minimum-stock/{productMinimumStockId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/product-minimum-stock/{productMinimumStockId}
- 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/product-minimum-stock/{productMinimumStockId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'