Animal Health Data Store - V1 API Documentation
AHDS Store API (1.0)
https://docs.heydonto.com/_mock/apis/animal-health/openapi/
http://localhost:8083/
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/contact-association/{contactAssociationId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/contact-association/{contactAssociationId}
- 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/contact-association/{contactAssociationId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Contact Association found
Associated/related contact.
Classification of the relationship between the contacts.
Canonical identifier for this contact association.
Primary contact in the association.
Timestamp when the association was created.
Timestamp when the association was last updated.
{ "associatedContactId": "123e4567-e89b-12d3-a456-426614174000", "associationClass": "family", "contactAssociationId": "123e4567-e89b-12d3-a456-426614174000", "contactId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "updatedAt": "2025-01-01T00:00:00.000Z", "associationType": { "code": "string", "system": "string", "display": "string" } }
Associated/related contact.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/contact-association/{contactAssociationId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/contact-association/{contactAssociationId}
- 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/contact-association/{contactAssociationId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"associatedContactId": "123e4567-e89b-12d3-a456-426614174000",
"associationClass": "family",
"contactId": "123e4567-e89b-12d3-a456-426614174000",
"extensions": {},
"isActive": true,
"associationType": {
"code": "string",
"system": "string",
"display": "string"
}
}'Contact Association updated successfully
Associated/related contact.
Classification of the relationship between the contacts.
Canonical identifier for this contact association.
Primary contact in the association.
Timestamp when the association was created.
Timestamp when the association was last updated.
{ "associatedContactId": "123e4567-e89b-12d3-a456-426614174000", "associationClass": "family", "contactAssociationId": "123e4567-e89b-12d3-a456-426614174000", "contactId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "updatedAt": "2025-01-01T00:00:00.000Z", "associationType": { "code": "string", "system": "string", "display": "string" } }
Associated/related contact.
Classification of the relationship between the contacts.
Primary contact in the association.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/contact-association/{contactAssociationId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/contact-association/{contactAssociationId}
- 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/contact-association/{contactAssociationId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"associatedContactId": "123e4567-e89b-12d3-a456-426614174000",
"associationClass": "family",
"contactId": "123e4567-e89b-12d3-a456-426614174000",
"extensions": {},
"isActive": true,
"associationType": {
"code": "string",
"system": "string",
"display": "string"
}
}'Contact Association replaced successfully
Associated/related contact.
Classification of the relationship between the contacts.
Canonical identifier for this contact association.
Primary contact in the association.
Timestamp when the association was created.
Timestamp when the association was last updated.
{ "associatedContactId": "123e4567-e89b-12d3-a456-426614174000", "associationClass": "family", "contactAssociationId": "123e4567-e89b-12d3-a456-426614174000", "contactId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "updatedAt": "2025-01-01T00:00:00.000Z", "associationType": { "code": "string", "system": "string", "display": "string" } }