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.
Inventory location or store where the product was supplied.
Reference to the product that was supplied.
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.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/supplied
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/supplied
- 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/supplied' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"batchNumber": "string",
"clientProvidedId": "123e4567-e89b-12d3-a456-426614174000",
"expiryDate": "2025-01-01",
"extensions": {},
"isActive": true,
"locationId": "123e4567-e89b-12d3-a456-426614174000",
"notes": "string",
"productId": "123e4567-e89b-12d3-a456-426614174000",
"quantity": {
"value": 0,
"unit": "string",
"system": "string"
},
"referenceNumber": "string",
"suppliedAt": "2025-01-01T00:00:00.000Z",
"suppliedId": "123e4567-e89b-12d3-a456-426614174000",
"supplierId": "123e4567-e89b-12d3-a456-426614174000",
"totalCost": {},
"unitCost": {}
}'Supplied created successfully
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.
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": "string", "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": "string", "productId": "123e4567-e89b-12d3-a456-426614174000", "quantity": { "value": 0, "unit": "string", "system": "string" }, "referenceNumber": "string", "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" }
Field to sort by
Optional client-supplied identifier for this supplied record.
Inventory location or store where the product was supplied.
Reference to the product that was supplied.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/supplied
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/supplied
- 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/supplied?page=0&pageSize=10&sortBy=createdAt&sortOrder=asc&batchNumber=string&clientProvidedId=123e4567-e89b-12d3-a456-426614174000&isActive=true&locationId=123e4567-e89b-12d3-a456-426614174000¬es=string&productId=123e4567-e89b-12d3-a456-426614174000&referenceNumber=string&supplierId=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/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 GET \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/supplied/{suppliedId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Supplied found
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.
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": "string", "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": "string", "productId": "123e4567-e89b-12d3-a456-426614174000", "quantity": { "value": 0, "unit": "string", "system": "string" }, "referenceNumber": "string", "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" }
Optional client-supplied identifier for this supplied record.
Inventory location or store where the product was supplied.
Reference to the product that was supplied.
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": "string",
"clientProvidedId": "123e4567-e89b-12d3-a456-426614174000",
"expiryDate": "2025-01-01",
"extensions": {},
"isActive": true,
"locationId": "123e4567-e89b-12d3-a456-426614174000",
"notes": "string",
"productId": "123e4567-e89b-12d3-a456-426614174000",
"quantity": {
"value": 0,
"unit": "string",
"system": "string"
},
"referenceNumber": "string",
"suppliedAt": "2025-01-01T00:00:00.000Z",
"supplierId": "123e4567-e89b-12d3-a456-426614174000",
"totalCost": {},
"unitCost": {}
}'Supplied updated successfully
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.
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": "string", "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": "string", "productId": "123e4567-e89b-12d3-a456-426614174000", "quantity": { "value": 0, "unit": "string", "system": "string" }, "referenceNumber": "string", "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" }
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.
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": "string",
"clientProvidedId": "123e4567-e89b-12d3-a456-426614174000",
"expiryDate": "2025-01-01",
"extensions": {},
"isActive": true,
"locationId": "123e4567-e89b-12d3-a456-426614174000",
"notes": "string",
"productId": "123e4567-e89b-12d3-a456-426614174000",
"quantity": {
"value": 0,
"unit": "string",
"system": "string"
},
"referenceNumber": "string",
"suppliedAt": "2025-01-01T00:00:00.000Z",
"supplierId": "123e4567-e89b-12d3-a456-426614174000",
"totalCost": {},
"unitCost": {}
}'Supplied replaced successfully
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.
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": "string", "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": "string", "productId": "123e4567-e89b-12d3-a456-426614174000", "quantity": { "value": 0, "unit": "string", "system": "string" }, "referenceNumber": "string", "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>'