Animal Health Data Store - V1 API Documentation
AHDS Store API (1.0)
https://docs.heydonto.com/_mock/apis/animal-health/openapi/
http://localhost:8083/
Optional client-supplied identifier for this supplied record.
Indicates whether this supplied record is active (not fully reversed or deleted).
Inventory location or store where the product was supplied.
Reference to the product that was supplied.
External reference such as supplier invoice number or delivery note.
Date and time when the product was supplied/received into inventory.
Reference to the supplier providing the product.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/supplied/{suppliedId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/supplied/{suppliedId}
- 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/supplied/{suppliedId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"batchNumber": "example",
"clientProvidedId": "123e4567-e89b-12d3-a456-426614174000",
"expiryDate": "2025-01-01",
"extensions": {},
"isActive": true,
"locationId": "123e4567-e89b-12d3-a456-426614174000",
"notes": "Example description",
"productId": "123e4567-e89b-12d3-a456-426614174000",
"quantity": {
"value": 1.5,
"unit": "km",
"system": "http://unitsofmeasure.org"
},
"referenceNumber": "Example description",
"suppliedAt": "2025-01-01T00:00:00.000Z",
"supplierId": "123e4567-e89b-12d3-a456-426614174000",
"totalCost": {},
"unitCost": {}
}'Supplied updated successfully
Batch or lot number associated with the supplied product.
Optional client-supplied identifier for this supplied record.
Timestamp when this record was created in the source system.
Expiry date of the supplied batch, if applicable.
Indicates whether this supplied record is active (not fully reversed or deleted).
Inventory location or store where the product was supplied.
Reference to the product that was supplied.
External reference such as supplier invoice number or delivery note.
Date and time when the product was supplied/received into inventory.
Canonical identifier for this supplied inventory record.
Reference to the supplier providing the product.
{ "batchNumber": "example", "clientProvidedId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "expiryDate": "2025-01-01T00:00:00Z", "extensions": {}, "isActive": true, "locationId": "123e4567-e89b-12d3-a456-426614174000", "notes": "Example description", "productId": "123e4567-e89b-12d3-a456-426614174000", "quantity": { "value": 1.5, "unit": "km", "system": "http://unitsofmeasure.org" }, "referenceNumber": "Example description", "suppliedAt": "2025-01-01T00:00:00.000Z", "suppliedId": "123e4567-e89b-12d3-a456-426614174000", "supplierId": "123e4567-e89b-12d3-a456-426614174000", "totalCost": {}, "unitCost": {}, "updatedAt": "2025-01-01T00:00:00.000Z" }
Batch or lot number associated with the supplied product.
Optional client-supplied identifier for this supplied record.
Indicates whether this supplied record is active (not fully reversed or deleted).
Inventory location or store where the product was supplied.
Reference to the product that was supplied.
External reference such as supplier invoice number or delivery note.
Date and time when the product was supplied/received into inventory.
Reference to the supplier providing the product.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/supplied/{suppliedId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/supplied/{suppliedId}
- 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/supplied/{suppliedId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"batchNumber": "example",
"clientProvidedId": "123e4567-e89b-12d3-a456-426614174000",
"expiryDate": "2025-01-01",
"extensions": {},
"isActive": true,
"locationId": "123e4567-e89b-12d3-a456-426614174000",
"notes": "Example description",
"productId": "123e4567-e89b-12d3-a456-426614174000",
"quantity": {
"value": 1.5,
"unit": "km",
"system": "http://unitsofmeasure.org"
},
"referenceNumber": "Example description",
"suppliedAt": "2025-01-01T00:00:00.000Z",
"supplierId": "123e4567-e89b-12d3-a456-426614174000",
"totalCost": {},
"unitCost": {}
}'Supplied replaced successfully
Batch or lot number associated with the supplied product.
Optional client-supplied identifier for this supplied record.
Timestamp when this record was created in the source system.
Expiry date of the supplied batch, if applicable.
Indicates whether this supplied record is active (not fully reversed or deleted).
Inventory location or store where the product was supplied.
Reference to the product that was supplied.
External reference such as supplier invoice number or delivery note.
Date and time when the product was supplied/received into inventory.
Canonical identifier for this supplied inventory record.
Reference to the supplier providing the product.
{ "batchNumber": "example", "clientProvidedId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "expiryDate": "2025-01-01T00:00:00Z", "extensions": {}, "isActive": true, "locationId": "123e4567-e89b-12d3-a456-426614174000", "notes": "Example description", "productId": "123e4567-e89b-12d3-a456-426614174000", "quantity": { "value": 1.5, "unit": "km", "system": "http://unitsofmeasure.org" }, "referenceNumber": "Example description", "suppliedAt": "2025-01-01T00:00:00.000Z", "suppliedId": "123e4567-e89b-12d3-a456-426614174000", "supplierId": "123e4567-e89b-12d3-a456-426614174000", "totalCost": {}, "unitCost": {}, "updatedAt": "2025-01-01T00:00:00.000Z" }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/supplied/{suppliedId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/supplied/{suppliedId}
- 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/supplied/{suppliedId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'