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