Animal Health Data Store - V1 API Documentation
AHDS Store API (1.0)
https://docs.heydonto.com/_mock/apis/animal-health/openapi/
http://localhost:8083/
Identifier of the animal associated with this history record.
Identifier of the consult associated with this history record.
Timestamp of the clinical or system event represented by this history record.
Unique identifier for this history record.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/history
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/history
- 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/history' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"animalId": "123e4567-e89b-12d3-a456-426614174000",
"chain": "string",
"comments": "string",
"consultId": "123e4567-e89b-12d3-a456-426614174000",
"eventAt": "2025-01-01T00:00:00.000Z",
"extensions": {},
"historyId": "123e4567-e89b-12d3-a456-426614174000",
"historySystem": "string",
"isActive": true,
"vetId": "123e4567-e89b-12d3-a456-426614174000"
}'History created successfully
Identifier of the animal associated with this history record.
Identifier of the consult associated with this history record.
Timestamp when this history record was created.
Timestamp of the clinical or system event represented by this history record.
Unique identifier for this history record.
Timestamp when this history record was last updated.
{ "animalId": "123e4567-e89b-12d3-a456-426614174000", "chain": "string", "comments": "string", "consultId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "eventAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "historyId": "123e4567-e89b-12d3-a456-426614174000", "historySystem": "string", "isActive": true, "updatedAt": "2025-01-01T00:00:00.000Z", "vetId": "123e4567-e89b-12d3-a456-426614174000" }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/history
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/history
- 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/history?page=0&pageSize=10&sortBy=createdAt&sortOrder=asc&animalId=123e4567-e89b-12d3-a456-426614174000&chain=string&comments=string&consultId=123e4567-e89b-12d3-a456-426614174000&historySystem=string&isActive=true&vetId=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/history/{historyId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/history/{historyId}
- 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/history/{historyId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'History found
Identifier of the animal associated with this history record.
Identifier of the consult associated with this history record.
Timestamp when this history record was created.
Timestamp of the clinical or system event represented by this history record.
Unique identifier for this history record.
Timestamp when this history record was last updated.
{ "animalId": "123e4567-e89b-12d3-a456-426614174000", "chain": "string", "comments": "string", "consultId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "eventAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "historyId": "123e4567-e89b-12d3-a456-426614174000", "historySystem": "string", "isActive": true, "updatedAt": "2025-01-01T00:00:00.000Z", "vetId": "123e4567-e89b-12d3-a456-426614174000" }
Identifier of the animal associated with this history record.
Identifier of the consult associated with this history record.
Timestamp of the clinical or system event represented by this history record.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/history/{historyId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/history/{historyId}
- 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/history/{historyId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"animalId": "123e4567-e89b-12d3-a456-426614174000",
"chain": "string",
"comments": "string",
"consultId": "123e4567-e89b-12d3-a456-426614174000",
"eventAt": "2025-01-01T00:00:00.000Z",
"extensions": {},
"historySystem": "string",
"isActive": true,
"vetId": "123e4567-e89b-12d3-a456-426614174000"
}'History updated successfully
Identifier of the animal associated with this history record.
Identifier of the consult associated with this history record.
Timestamp when this history record was created.
Timestamp of the clinical or system event represented by this history record.
Unique identifier for this history record.
Timestamp when this history record was last updated.
{ "animalId": "123e4567-e89b-12d3-a456-426614174000", "chain": "string", "comments": "string", "consultId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "eventAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "historyId": "123e4567-e89b-12d3-a456-426614174000", "historySystem": "string", "isActive": true, "updatedAt": "2025-01-01T00:00:00.000Z", "vetId": "123e4567-e89b-12d3-a456-426614174000" }
Identifier of the animal associated with this history record.
Identifier of the consult associated with this history record.
Timestamp of the clinical or system event represented by this history record.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/history/{historyId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/history/{historyId}
- 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/history/{historyId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"animalId": "123e4567-e89b-12d3-a456-426614174000",
"chain": "string",
"comments": "string",
"consultId": "123e4567-e89b-12d3-a456-426614174000",
"eventAt": "2025-01-01T00:00:00.000Z",
"extensions": {},
"historySystem": "string",
"isActive": true,
"vetId": "123e4567-e89b-12d3-a456-426614174000"
}'History replaced successfully
Identifier of the animal associated with this history record.
Identifier of the consult associated with this history record.
Timestamp when this history record was created.
Timestamp of the clinical or system event represented by this history record.
Unique identifier for this history record.
Timestamp when this history record was last updated.
{ "animalId": "123e4567-e89b-12d3-a456-426614174000", "chain": "string", "comments": "string", "consultId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "eventAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "historyId": "123e4567-e89b-12d3-a456-426614174000", "historySystem": "string", "isActive": true, "updatedAt": "2025-01-01T00:00:00.000Z", "vetId": "123e4567-e89b-12d3-a456-426614174000" }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/history/{historyId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/history/{historyId}
- 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/history/{historyId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'