Animal Health Data Store - V1 API Documentation
AHDS Store API (1.0)
https://docs.heydonto.com/_mock/apis/animal-health/openapi/
http://localhost:8083/
Canonical identifier for the ledger account.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/ledger-account
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/ledger-account
- 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/ledger-account' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"code": "string",
"extensions": {},
"isActive": true,
"ledgerAccountId": "123e4567-e89b-12d3-a456-426614174000",
"name": "string"
}'{ "code": "string", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "ledgerAccountId": "123e4567-e89b-12d3-a456-426614174000", "name": "string", "updatedAt": "2025-01-01T00:00:00.000Z" }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/ledger-account
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/ledger-account
- 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/ledger-account?page=0&pageSize=10&sortBy=createdAt&sortOrder=asc&code=string&isActive=true&name=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/ledger-account/{ledgerAccountId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/ledger-account/{ledgerAccountId}
- 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/ledger-account/{ledgerAccountId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "code": "string", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "ledgerAccountId": "123e4567-e89b-12d3-a456-426614174000", "name": "string", "updatedAt": "2025-01-01T00:00:00.000Z" }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/ledger-account/{ledgerAccountId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/ledger-account/{ledgerAccountId}
- 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/ledger-account/{ledgerAccountId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"code": "string",
"extensions": {},
"isActive": true,
"name": "string"
}'{ "code": "string", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "ledgerAccountId": "123e4567-e89b-12d3-a456-426614174000", "name": "string", "updatedAt": "2025-01-01T00:00:00.000Z" }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/ledger-account/{ledgerAccountId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/ledger-account/{ledgerAccountId}
- 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/ledger-account/{ledgerAccountId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"code": "string",
"extensions": {},
"isActive": true,
"name": "string"
}'{ "code": "string", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "ledgerAccountId": "123e4567-e89b-12d3-a456-426614174000", "name": "string", "updatedAt": "2025-01-01T00:00:00.000Z" }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/ledger-account/{ledgerAccountId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/ledger-account/{ledgerAccountId}
- 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/ledger-account/{ledgerAccountId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'