Animal Health Data Store - V1 API Documentation
AHDS Store API (1.0)
https://docs.heydonto.com/_mock/apis/animal-health/openapi/
http://localhost:8083/
Primary communication channel or medium for this message.
Optional client-supplied identifier for idempotency or cross-system correlation.
Canonical unique identifier for this message.
Timestamp when the message was first marked as read, if applicable.
Inventory item this message is primarily about, if applicable.
Purchase order this message is related to, if applicable.
Supplier this message is related to, if applicable.
Current lifecycle status of the message.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/inventory-message
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/inventory-message
- 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/inventory-message' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"author": {},
"body": "string",
"channel": "internal",
"clientProvidedId": "123e4567-e89b-12d3-a456-426614174000",
"extensions": {},
"isPinned": true,
"messageId": "123e4567-e89b-12d3-a456-426614174000",
"priority": "low",
"readAt": "2025-01-01T00:00:00.000Z",
"recipients": [
{
"display": "string",
"role": "string",
"userId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"relatedInventoryItemId": "123e4567-e89b-12d3-a456-426614174000",
"relatedPurchaseOrderId": "123e4567-e89b-12d3-a456-426614174000",
"relatedSupplierId": "123e4567-e89b-12d3-a456-426614174000",
"sentAt": "2025-01-01T00:00:00.000Z",
"status": "draft",
"subject": "string",
"tags": [
"string"
],
"type": "system"
}'Inventory Message created successfully
Primary communication channel or medium for this message.
Optional client-supplied identifier for idempotency or cross-system correlation.
Timestamp when the message was created.
Canonical unique identifier for this message.
Timestamp when the message was first marked as read, if applicable.
Intended recipients of the message.
Inventory item this message is primarily about, if applicable.
Purchase order this message is related to, if applicable.
Supplier this message is related to, if applicable.
Timestamp when the message was sent, if applicable.
Current lifecycle status of the message.
High-level classification of the message.
{ "author": {}, "body": "string", "channel": "internal", "clientProvidedId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isPinned": true, "messageId": "123e4567-e89b-12d3-a456-426614174000", "priority": "low", "readAt": "2025-01-01T00:00:00.000Z", "recipients": [ { … } ], "relatedInventoryItemId": "123e4567-e89b-12d3-a456-426614174000", "relatedPurchaseOrderId": "123e4567-e89b-12d3-a456-426614174000", "relatedSupplierId": "123e4567-e89b-12d3-a456-426614174000", "sentAt": "2025-01-01T00:00:00.000Z", "status": "draft", "subject": "string", "tags": [ "string" ], "type": "system", "updatedAt": "2025-01-01T00:00:00.000Z" }
Primary communication channel or medium for this message.
Optional client-supplied identifier for idempotency or cross-system correlation.
Inventory item this message is primarily about, if applicable.
Purchase order this message is related to, if applicable.
Supplier this message is related to, if applicable.
Current lifecycle status of the message.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/inventory-message
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/inventory-message
- 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/inventory-message?page=0&pageSize=10&sortBy=createdAt&sortOrder=asc&body=string&channel=internal&clientProvidedId=123e4567-e89b-12d3-a456-426614174000&isPinned=true&priority=low&relatedInventoryItemId=123e4567-e89b-12d3-a456-426614174000&relatedPurchaseOrderId=123e4567-e89b-12d3-a456-426614174000&relatedSupplierId=123e4567-e89b-12d3-a456-426614174000&status=draft&subject=string&type=system' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/inventory-message/{messageId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/inventory-message/{messageId}
- 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/inventory-message/{messageId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Inventory Message found
Primary communication channel or medium for this message.
Optional client-supplied identifier for idempotency or cross-system correlation.
Timestamp when the message was created.
Canonical unique identifier for this message.
Timestamp when the message was first marked as read, if applicable.
Intended recipients of the message.
Inventory item this message is primarily about, if applicable.
Purchase order this message is related to, if applicable.
Supplier this message is related to, if applicable.
Timestamp when the message was sent, if applicable.
Current lifecycle status of the message.
High-level classification of the message.
{ "author": {}, "body": "string", "channel": "internal", "clientProvidedId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isPinned": true, "messageId": "123e4567-e89b-12d3-a456-426614174000", "priority": "low", "readAt": "2025-01-01T00:00:00.000Z", "recipients": [ { … } ], "relatedInventoryItemId": "123e4567-e89b-12d3-a456-426614174000", "relatedPurchaseOrderId": "123e4567-e89b-12d3-a456-426614174000", "relatedSupplierId": "123e4567-e89b-12d3-a456-426614174000", "sentAt": "2025-01-01T00:00:00.000Z", "status": "draft", "subject": "string", "tags": [ "string" ], "type": "system", "updatedAt": "2025-01-01T00:00:00.000Z" }
Primary communication channel or medium for this message.
Optional client-supplied identifier for idempotency or cross-system correlation.
Timestamp when the message was first marked as read, if applicable.
Inventory item this message is primarily about, if applicable.
Purchase order this message is related to, if applicable.
Supplier this message is related to, if applicable.
Current lifecycle status of the message.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/inventory-message/{messageId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/inventory-message/{messageId}
- 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/inventory-message/{messageId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"author": {},
"body": "string",
"channel": "internal",
"clientProvidedId": "123e4567-e89b-12d3-a456-426614174000",
"extensions": {},
"isPinned": true,
"priority": "low",
"readAt": "2025-01-01T00:00:00.000Z",
"recipients": [
{
"display": "string",
"role": "string",
"userId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"relatedInventoryItemId": "123e4567-e89b-12d3-a456-426614174000",
"relatedPurchaseOrderId": "123e4567-e89b-12d3-a456-426614174000",
"relatedSupplierId": "123e4567-e89b-12d3-a456-426614174000",
"sentAt": "2025-01-01T00:00:00.000Z",
"status": "draft",
"subject": "string",
"tags": [
"string"
],
"type": "system"
}'Inventory Message updated successfully
Primary communication channel or medium for this message.
Optional client-supplied identifier for idempotency or cross-system correlation.
Timestamp when the message was created.
Canonical unique identifier for this message.
Timestamp when the message was first marked as read, if applicable.
Intended recipients of the message.
Inventory item this message is primarily about, if applicable.
Purchase order this message is related to, if applicable.
Supplier this message is related to, if applicable.
Timestamp when the message was sent, if applicable.
Current lifecycle status of the message.
High-level classification of the message.
{ "author": {}, "body": "string", "channel": "internal", "clientProvidedId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isPinned": true, "messageId": "123e4567-e89b-12d3-a456-426614174000", "priority": "low", "readAt": "2025-01-01T00:00:00.000Z", "recipients": [ { … } ], "relatedInventoryItemId": "123e4567-e89b-12d3-a456-426614174000", "relatedPurchaseOrderId": "123e4567-e89b-12d3-a456-426614174000", "relatedSupplierId": "123e4567-e89b-12d3-a456-426614174000", "sentAt": "2025-01-01T00:00:00.000Z", "status": "draft", "subject": "string", "tags": [ "string" ], "type": "system", "updatedAt": "2025-01-01T00:00:00.000Z" }
Primary communication channel or medium for this message.
Optional client-supplied identifier for idempotency or cross-system correlation.
Timestamp when the message was first marked as read, if applicable.
Intended recipients of the message.
Inventory item this message is primarily about, if applicable.
Purchase order this message is related to, if applicable.
Supplier this message is related to, if applicable.
Timestamp when the message was sent, if applicable.
Current lifecycle status of the message.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/inventory-message/{messageId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/inventory-message/{messageId}
- 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/inventory-message/{messageId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"author": {},
"body": "string",
"channel": "internal",
"clientProvidedId": "123e4567-e89b-12d3-a456-426614174000",
"extensions": {},
"isPinned": true,
"priority": "low",
"readAt": "2025-01-01T00:00:00.000Z",
"recipients": [
{
"display": "string",
"role": "string",
"userId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"relatedInventoryItemId": "123e4567-e89b-12d3-a456-426614174000",
"relatedPurchaseOrderId": "123e4567-e89b-12d3-a456-426614174000",
"relatedSupplierId": "123e4567-e89b-12d3-a456-426614174000",
"sentAt": "2025-01-01T00:00:00.000Z",
"status": "draft",
"subject": "string",
"tags": [
"string"
],
"type": "system"
}'Inventory Message replaced successfully
Primary communication channel or medium for this message.
Optional client-supplied identifier for idempotency or cross-system correlation.
Timestamp when the message was created.
Canonical unique identifier for this message.
Timestamp when the message was first marked as read, if applicable.
Intended recipients of the message.
Inventory item this message is primarily about, if applicable.
Purchase order this message is related to, if applicable.
Supplier this message is related to, if applicable.
Timestamp when the message was sent, if applicable.
Current lifecycle status of the message.
High-level classification of the message.
{ "author": {}, "body": "string", "channel": "internal", "clientProvidedId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isPinned": true, "messageId": "123e4567-e89b-12d3-a456-426614174000", "priority": "low", "readAt": "2025-01-01T00:00:00.000Z", "recipients": [ { … } ], "relatedInventoryItemId": "123e4567-e89b-12d3-a456-426614174000", "relatedPurchaseOrderId": "123e4567-e89b-12d3-a456-426614174000", "relatedSupplierId": "123e4567-e89b-12d3-a456-426614174000", "sentAt": "2025-01-01T00:00:00.000Z", "status": "draft", "subject": "string", "tags": [ "string" ], "type": "system", "updatedAt": "2025-01-01T00:00:00.000Z" }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/inventory-message/{messageId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/inventory-message/{messageId}
- 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/inventory-message/{messageId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'