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 unique identifier for the species.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/species
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/species
- 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/species' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"code": {
"code": "string",
"system": "string",
"display": "string"
},
"extensions": {},
"isActive": true,
"name": "string",
"speciesId": "123e4567-e89b-12d3-a456-426614174000",
"aliases": [
"string"
]
}'Species created successfully
Timestamp when the species record was created.
Canonical unique identifier for the species.
Timestamp when the species record was last updated.
{ "code": { "code": "string", "system": "string", "display": "string" }, "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "name": "string", "speciesId": "123e4567-e89b-12d3-a456-426614174000", "updatedAt": "2025-01-01T00:00:00.000Z", "aliases": [ "string" ] }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/species
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/species
- 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/species?page=0&pageSize=10&sortBy=createdAt&sortOrder=asc&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/species/{speciesId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/species/{speciesId}
- 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/species/{speciesId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "code": { "code": "string", "system": "string", "display": "string" }, "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "name": "string", "speciesId": "123e4567-e89b-12d3-a456-426614174000", "updatedAt": "2025-01-01T00:00:00.000Z", "aliases": [ "string" ] }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/species/{speciesId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/species/{speciesId}
- 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/species/{speciesId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"code": {
"code": "string",
"system": "string",
"display": "string"
},
"extensions": {},
"isActive": true,
"name": "string",
"aliases": [
"string"
]
}'Species updated successfully
Timestamp when the species record was created.
Canonical unique identifier for the species.
Timestamp when the species record was last updated.
{ "code": { "code": "string", "system": "string", "display": "string" }, "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "name": "string", "speciesId": "123e4567-e89b-12d3-a456-426614174000", "updatedAt": "2025-01-01T00:00:00.000Z", "aliases": [ "string" ] }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/species/{speciesId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/species/{speciesId}
- 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/species/{speciesId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"code": {
"code": "string",
"system": "string",
"display": "string"
},
"extensions": {},
"isActive": true,
"name": "string",
"aliases": [
"string"
]
}'Species replaced successfully
Timestamp when the species record was created.
Canonical unique identifier for the species.
Timestamp when the species record was last updated.
{ "code": { "code": "string", "system": "string", "display": "string" }, "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "name": "string", "speciesId": "123e4567-e89b-12d3-a456-426614174000", "updatedAt": "2025-01-01T00:00:00.000Z", "aliases": [ "string" ] }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/species/{speciesId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/species/{speciesId}
- 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/species/{speciesId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'