Animal Health Data Store - V1 API Documentation
AHDS Store API (1.0)
Overview
Languages
Servers
Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/
Local Development
http://localhost:8083/
Bodyapplication/jsonrequired
Reference to the contact who owns this herd.
Example: "123e4567-e89b-12d3-a456-426614174000"
Reference to the primary location where the herd is kept.
Example: "123e4567-e89b-12d3-a456-426614174000"
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/herd/{herdId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/herd/{herdId}
- 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/herd/{herdId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"herdType": {
"code": "string",
"system": "string",
"display": "string"
},
"ownerId": "123e4567-e89b-12d3-a456-426614174000",
"locationId": "123e4567-e89b-12d3-a456-426614174000",
"estimatedCount": 0,
"isActive": true,
"extensions": {}
}'Herd replaced successfully
Canonical unique identifier for the herd.
Example: "123e4567-e89b-12d3-a456-426614174000"
Reference to the contact who owns this herd.
Example: "123e4567-e89b-12d3-a456-426614174000"
Reference to the primary location where the herd is kept.
Example: "123e4567-e89b-12d3-a456-426614174000"
Timestamp when the herd record was created.
Example: "2025-01-01T00:00:00.000Z"
Timestamp when the herd record was last updated.
Example: "2025-01-01T00:00:00.000Z"
Response
application/json
{ "herdId": "123e4567-e89b-12d3-a456-426614174000", "name": "string", "herdType": { "code": "string", "system": "string", "display": "string" }, "ownerId": "123e4567-e89b-12d3-a456-426614174000", "locationId": "123e4567-e89b-12d3-a456-426614174000", "estimatedCount": 0, "isActive": true, "createdAt": "2025-01-01T00:00:00.000Z", "updatedAt": "2025-01-01T00:00:00.000Z", "extensions": {} }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/herd/{herdId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/herd/{herdId}
- 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/herd/{herdId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'