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 representing the owning business unit or organization.
Identifier of the product being ordered.
Identifier of the related purchase order.
Canonical identifier for the purchase order item.
Total net amount for this line (excluding tax), as a decimal string.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/purchaseorderitem
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/purchaseorderitem
- 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/purchaseorderitem' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"extensions": {},
"isActive": true,
"outers": 0,
"ownershipId": "123e4567-e89b-12d3-a456-426614174000",
"pricePerUnit": "100.00",
"productId": "123e4567-e89b-12d3-a456-426614174000",
"purchaseOrderId": "123e4567-e89b-12d3-a456-426614174000",
"purchaseorderitemId": "123e4567-e89b-12d3-a456-426614174000",
"quantity": 0,
"supplierCode": "string",
"taxPerUnit": "100.00",
"totalAmount": "100.00",
"totalTaxAmount": "100.00",
"unitsPerOuter": 0
}'Purchaseorderitem created successfully
Timestamp when the purchase order item was created.
Identifier representing the owning business unit or organization.
Identifier of the product being ordered.
Identifier of the related purchase order.
Canonical identifier for the purchase order item.
Total net amount for this line (excluding tax), as a decimal string.
{ "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "outers": 0, "ownershipId": "123e4567-e89b-12d3-a456-426614174000", "pricePerUnit": "100.00", "productId": "123e4567-e89b-12d3-a456-426614174000", "purchaseOrderId": "123e4567-e89b-12d3-a456-426614174000", "purchaseorderitemId": "123e4567-e89b-12d3-a456-426614174000", "quantity": 0, "supplierCode": "string", "taxPerUnit": "100.00", "totalAmount": "100.00", "totalTaxAmount": "100.00", "unitsPerOuter": 0, "updatedAt": "2025-01-01T00:00:00.000Z" }
Field to sort by
Identifier representing the owning business unit or organization.
Identifier of the product being ordered.
Identifier of the related purchase order.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/purchaseorderitem
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/purchaseorderitem
- 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/purchaseorderitem?page=0&pageSize=10&sortBy=createdAt&sortOrder=asc&isActive=true&ownershipId=123e4567-e89b-12d3-a456-426614174000&productId=123e4567-e89b-12d3-a456-426614174000&purchaseOrderId=123e4567-e89b-12d3-a456-426614174000&supplierCode=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/purchaseorderitem/{purchaseorderitemId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/purchaseorderitem/{purchaseorderitemId}
- 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/purchaseorderitem/{purchaseorderitemId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Purchaseorderitem found
Timestamp when the purchase order item was created.
Identifier representing the owning business unit or organization.
Identifier of the product being ordered.
Identifier of the related purchase order.
Canonical identifier for the purchase order item.
Total net amount for this line (excluding tax), as a decimal string.
{ "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "outers": 0, "ownershipId": "123e4567-e89b-12d3-a456-426614174000", "pricePerUnit": "100.00", "productId": "123e4567-e89b-12d3-a456-426614174000", "purchaseOrderId": "123e4567-e89b-12d3-a456-426614174000", "purchaseorderitemId": "123e4567-e89b-12d3-a456-426614174000", "quantity": 0, "supplierCode": "string", "taxPerUnit": "100.00", "totalAmount": "100.00", "totalTaxAmount": "100.00", "unitsPerOuter": 0, "updatedAt": "2025-01-01T00:00:00.000Z" }
Identifier representing the owning business unit or organization.
Identifier of the product being ordered.
Identifier of the related purchase order.
Total net amount for this line (excluding tax), as a decimal string.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/purchaseorderitem/{purchaseorderitemId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/purchaseorderitem/{purchaseorderitemId}
- 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/purchaseorderitem/{purchaseorderitemId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"extensions": {},
"isActive": true,
"outers": 0,
"ownershipId": "123e4567-e89b-12d3-a456-426614174000",
"pricePerUnit": "100.00",
"productId": "123e4567-e89b-12d3-a456-426614174000",
"purchaseOrderId": "123e4567-e89b-12d3-a456-426614174000",
"quantity": 0,
"supplierCode": "string",
"taxPerUnit": "100.00",
"totalAmount": "100.00",
"totalTaxAmount": "100.00",
"unitsPerOuter": 0
}'Purchaseorderitem updated successfully
Timestamp when the purchase order item was created.
Identifier representing the owning business unit or organization.
Identifier of the product being ordered.
Identifier of the related purchase order.
Canonical identifier for the purchase order item.
Total net amount for this line (excluding tax), as a decimal string.
{ "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "outers": 0, "ownershipId": "123e4567-e89b-12d3-a456-426614174000", "pricePerUnit": "100.00", "productId": "123e4567-e89b-12d3-a456-426614174000", "purchaseOrderId": "123e4567-e89b-12d3-a456-426614174000", "purchaseorderitemId": "123e4567-e89b-12d3-a456-426614174000", "quantity": 0, "supplierCode": "string", "taxPerUnit": "100.00", "totalAmount": "100.00", "totalTaxAmount": "100.00", "unitsPerOuter": 0, "updatedAt": "2025-01-01T00:00:00.000Z" }
Identifier representing the owning business unit or organization.
Identifier of the product being ordered.
Identifier of the related purchase order.
Total net amount for this line (excluding tax), as a decimal string.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/purchaseorderitem/{purchaseorderitemId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/purchaseorderitem/{purchaseorderitemId}
- 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/purchaseorderitem/{purchaseorderitemId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"extensions": {},
"isActive": true,
"outers": 0,
"ownershipId": "123e4567-e89b-12d3-a456-426614174000",
"pricePerUnit": "100.00",
"productId": "123e4567-e89b-12d3-a456-426614174000",
"purchaseOrderId": "123e4567-e89b-12d3-a456-426614174000",
"quantity": 0,
"supplierCode": "string",
"taxPerUnit": "100.00",
"totalAmount": "100.00",
"totalTaxAmount": "100.00",
"unitsPerOuter": 0
}'Purchaseorderitem replaced successfully
Timestamp when the purchase order item was created.
Identifier representing the owning business unit or organization.
Identifier of the product being ordered.
Identifier of the related purchase order.
Canonical identifier for the purchase order item.
Total net amount for this line (excluding tax), as a decimal string.
{ "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "outers": 0, "ownershipId": "123e4567-e89b-12d3-a456-426614174000", "pricePerUnit": "100.00", "productId": "123e4567-e89b-12d3-a456-426614174000", "purchaseOrderId": "123e4567-e89b-12d3-a456-426614174000", "purchaseorderitemId": "123e4567-e89b-12d3-a456-426614174000", "quantity": 0, "supplierCode": "string", "taxPerUnit": "100.00", "totalAmount": "100.00", "totalTaxAmount": "100.00", "unitsPerOuter": 0, "updatedAt": "2025-01-01T00:00:00.000Z" }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/purchaseorderitem/{purchaseorderitemId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/purchaseorderitem/{purchaseorderitemId}
- 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/purchaseorderitem/{purchaseorderitemId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'