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 used to deliver the message.
Timestamp when the message was delivered to the recipient's channel, if known.
High-level classification of the message.
Timestamp when the message was first read, if tracked.
References to entities this message is about (e.g., animal, appointment, invoice).
Identifier of the related entity.
Timestamp when the message was sent or made available to recipients.
Current lifecycle status of the message.
Primary recipients of the message.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/message/{messageId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/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/message/{messageId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"body": "string",
"channel": "internal",
"deliveredAt": "2025-01-01T00:00:00.000Z",
"extensions": {},
"from": {},
"messageType": "system",
"priority": "low",
"readAt": "2025-01-01T00:00:00.000Z",
"relatedEntities": [
{
"display": "string",
"entityId": "123e4567-e89b-12d3-a456-426614174000",
"entityType": "animal"
}
],
"sentAt": "2025-01-01T00:00:00.000Z",
"status": "draft",
"subject": "string",
"to": [
{
"contactId": "123e4567-e89b-12d3-a456-426614174000",
"display": "string",
"userId": "123e4567-e89b-12d3-a456-426614174000"
}
]
}'Message replaced successfully
Primary communication channel used to deliver the message.
Timestamp when the message record was created.
Timestamp when the message was delivered to the recipient's channel, if known.
Canonical unique identifier for the message.
High-level classification of the message.
Timestamp when the message was first read, if tracked.
References to entities this message is about (e.g., animal, appointment, invoice).
Identifier of the related entity.
Timestamp when the message was sent or made available to recipients.
Current lifecycle status of the message.
Primary recipients of the message.
{ "body": "string", "channel": "internal", "createdAt": "2025-01-01T00:00:00.000Z", "deliveredAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "from": {}, "messageId": "123e4567-e89b-12d3-a456-426614174000", "messageType": "system", "priority": "low", "readAt": "2025-01-01T00:00:00.000Z", "relatedEntities": [ { … } ], "sentAt": "2025-01-01T00:00:00.000Z", "status": "draft", "subject": "string", "to": [ { … } ], "updatedAt": "2025-01-01T00:00:00.000Z" }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/message/{messageId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/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/message/{messageId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'