Animal Health Data Store - V1 API Documentation
AHDS Store API (1.0)
https://docs.heydonto.com/_mock/apis/animal-health/openapi/
http://localhost:8083/
List of contact details such as phone numbers and email addresses.
Canonical identifier for this contact detail.
Identifier of the contact this detail belongs to.
Timestamp when this contact detail was created.
Whether this is the preferred contact detail of its type for the contact.
Label or type name for the contact detail (e.g. 'Home phone', 'Email').
Identifiers of communication subscription groups associated with this contact detail.
Timestamp when this contact detail was last updated.
Raw value of the contact detail (e.g. phone number, email address).
Canonical unique identifier for the contact.
Identifier for the owning organization or business unit.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/contact
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/contact
- 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/contact' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"businessName": "string",
"code": "string",
"contactDetails": [
{
"contactDetailId": "123e4567-e89b-12d3-a456-426614174000",
"contactDetailType": {
"code": "string",
"system": "string",
"display": "string"
},
"contactId": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-01-01T00:00:00.000Z",
"extensions": {},
"isActive": true,
"isPreferred": true,
"name": "string",
"subscriptionGroups": [
"string"
],
"updatedAt": "2025-01-01T00:00:00.000Z",
"value": "string",
"valueCleaned": "string"
}
],
"contactId": "123e4567-e89b-12d3-a456-426614174000",
"creditStatus": "OK",
"birthDate": "2025-01-01",
"driverLicenseExpiryDate": "2025-01-01",
"driverLicenseIssuer": "string",
"driverLicenseNumber": "string",
"extensions": {},
"firstName": "string",
"isBusiness": true,
"isCustomer": true,
"isStaffMember": true,
"isSupplier": true,
"isSyndicate": true,
"isVet": true,
"lastName": "string",
"ownershipId": "123e4567-e89b-12d3-a456-426614174000",
"physicalAddress": "string",
"postalAddress": "string",
"creditStatusConcept": {
"code": "string",
"system": "string",
"display": "string"
}
}'Contact created successfully
List of contact details such as phone numbers and email addresses.
Canonical identifier for this contact detail.
Identifier of the contact this detail belongs to.
Timestamp when this contact detail was created.
Whether this is the preferred contact detail of its type for the contact.
Label or type name for the contact detail (e.g. 'Home phone', 'Email').
Identifiers of communication subscription groups associated with this contact detail.
Timestamp when this contact detail was last updated.
Raw value of the contact detail (e.g. phone number, email address).
Canonical unique identifier for the contact.
Timestamp when the contact was created.
Date of birth of the contact, if applicable.
Expiry date of the driver license.
Identifier for the owning organization or business unit.
Timestamp when the contact was last updated.
{ "businessName": "string", "code": "string", "contactDetails": [ { … } ], "contactId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "creditStatus": "OK", "birthDate": "2025-01-01T00:00:00Z", "driverLicenseExpiryDate": "2025-01-01T00:00:00Z", "driverLicenseIssuer": "string", "driverLicenseNumber": "string", "extensions": {}, "firstName": "string", "isBusiness": true, "isCustomer": true, "isStaffMember": true, "isSupplier": true, "isSyndicate": true, "isVet": true, "lastName": "string", "ownershipId": "123e4567-e89b-12d3-a456-426614174000", "physicalAddress": "string", "postalAddress": "string", "updatedAt": "2025-01-01T00:00:00.000Z", "creditStatusConcept": { "code": "string", "system": "string", "display": "string" } }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/contact
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/contact
- 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?page=0&pageSize=10&sortBy=createdAt&sortOrder=asc&businessName=string&code=string&creditStatus=OK&driverLicenseIssuer=string&driverLicenseNumber=string&firstName=string&isBusiness=true&isCustomer=true&isStaffMember=true&isSupplier=true&isSyndicate=true&isVet=true&lastName=string&ownershipId=123e4567-e89b-12d3-a456-426614174000&physicalAddress=string&postalAddress=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/contact/{contactId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/contact/{contactId}
- 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/{contactId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Contact found
List of contact details such as phone numbers and email addresses.
Canonical identifier for this contact detail.
Identifier of the contact this detail belongs to.
Timestamp when this contact detail was created.
Whether this is the preferred contact detail of its type for the contact.
Label or type name for the contact detail (e.g. 'Home phone', 'Email').
Identifiers of communication subscription groups associated with this contact detail.
Timestamp when this contact detail was last updated.
Raw value of the contact detail (e.g. phone number, email address).
Canonical unique identifier for the contact.
Timestamp when the contact was created.
Date of birth of the contact, if applicable.
Expiry date of the driver license.
Identifier for the owning organization or business unit.
Timestamp when the contact was last updated.
{ "businessName": "string", "code": "string", "contactDetails": [ { … } ], "contactId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "creditStatus": "OK", "birthDate": "2025-01-01T00:00:00Z", "driverLicenseExpiryDate": "2025-01-01T00:00:00Z", "driverLicenseIssuer": "string", "driverLicenseNumber": "string", "extensions": {}, "firstName": "string", "isBusiness": true, "isCustomer": true, "isStaffMember": true, "isSupplier": true, "isSyndicate": true, "isVet": true, "lastName": "string", "ownershipId": "123e4567-e89b-12d3-a456-426614174000", "physicalAddress": "string", "postalAddress": "string", "updatedAt": "2025-01-01T00:00:00.000Z", "creditStatusConcept": { "code": "string", "system": "string", "display": "string" } }
List of contact details such as phone numbers and email addresses.
Identifier for the owning organization or business unit.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/contact/{contactId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/contact/{contactId}
- 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/{contactId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"businessName": "string",
"code": "string",
"contactDetails": [
{
"contactDetailId": "123e4567-e89b-12d3-a456-426614174000",
"contactDetailType": {
"code": "string",
"system": "string",
"display": "string"
},
"contactId": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-01-01T00:00:00.000Z",
"extensions": {},
"isActive": true,
"isPreferred": true,
"name": "string",
"subscriptionGroups": [
"string"
],
"updatedAt": "2025-01-01T00:00:00.000Z",
"value": "string",
"valueCleaned": "string"
}
],
"creditStatus": "OK",
"birthDate": "2025-01-01",
"driverLicenseExpiryDate": "2025-01-01",
"driverLicenseIssuer": "string",
"driverLicenseNumber": "string",
"extensions": {},
"firstName": "string",
"isBusiness": true,
"isCustomer": true,
"isStaffMember": true,
"isSupplier": true,
"isSyndicate": true,
"isVet": true,
"lastName": "string",
"ownershipId": "123e4567-e89b-12d3-a456-426614174000",
"physicalAddress": "string",
"postalAddress": "string",
"creditStatusConcept": {
"code": "string",
"system": "string",
"display": "string"
}
}'Contact updated successfully
List of contact details such as phone numbers and email addresses.
Canonical identifier for this contact detail.
Identifier of the contact this detail belongs to.
Timestamp when this contact detail was created.
Whether this is the preferred contact detail of its type for the contact.
Label or type name for the contact detail (e.g. 'Home phone', 'Email').
Identifiers of communication subscription groups associated with this contact detail.
Timestamp when this contact detail was last updated.
Raw value of the contact detail (e.g. phone number, email address).
Canonical unique identifier for the contact.
Timestamp when the contact was created.
Date of birth of the contact, if applicable.
Expiry date of the driver license.
Identifier for the owning organization or business unit.
Timestamp when the contact was last updated.
{ "businessName": "string", "code": "string", "contactDetails": [ { … } ], "contactId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "creditStatus": "OK", "birthDate": "2025-01-01T00:00:00Z", "driverLicenseExpiryDate": "2025-01-01T00:00:00Z", "driverLicenseIssuer": "string", "driverLicenseNumber": "string", "extensions": {}, "firstName": "string", "isBusiness": true, "isCustomer": true, "isStaffMember": true, "isSupplier": true, "isSyndicate": true, "isVet": true, "lastName": "string", "ownershipId": "123e4567-e89b-12d3-a456-426614174000", "physicalAddress": "string", "postalAddress": "string", "updatedAt": "2025-01-01T00:00:00.000Z", "creditStatusConcept": { "code": "string", "system": "string", "display": "string" } }
List of contact details such as phone numbers and email addresses.
Canonical identifier for this contact detail.
Identifier of the contact this detail belongs to.
Timestamp when this contact detail was created.
Whether this is the preferred contact detail of its type for the contact.
Label or type name for the contact detail (e.g. 'Home phone', 'Email').
Identifiers of communication subscription groups associated with this contact detail.
Timestamp when this contact detail was last updated.
Raw value of the contact detail (e.g. phone number, email address).
Identifier for the owning organization or business unit.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/contact/{contactId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/contact/{contactId}
- 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/{contactId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"businessName": "string",
"code": "string",
"contactDetails": [
{
"contactDetailId": "123e4567-e89b-12d3-a456-426614174000",
"contactDetailType": {
"code": "string",
"system": "string",
"display": "string"
},
"contactId": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-01-01T00:00:00.000Z",
"extensions": {},
"isActive": true,
"isPreferred": true,
"name": "string",
"subscriptionGroups": [
"string"
],
"updatedAt": "2025-01-01T00:00:00.000Z",
"value": "string",
"valueCleaned": "string"
}
],
"creditStatus": "OK",
"birthDate": "2025-01-01",
"driverLicenseExpiryDate": "2025-01-01",
"driverLicenseIssuer": "string",
"driverLicenseNumber": "string",
"extensions": {},
"firstName": "string",
"isBusiness": true,
"isCustomer": true,
"isStaffMember": true,
"isSupplier": true,
"isSyndicate": true,
"isVet": true,
"lastName": "string",
"ownershipId": "123e4567-e89b-12d3-a456-426614174000",
"physicalAddress": "string",
"postalAddress": "string",
"creditStatusConcept": {
"code": "string",
"system": "string",
"display": "string"
}
}'Contact replaced successfully
List of contact details such as phone numbers and email addresses.
Canonical identifier for this contact detail.
Identifier of the contact this detail belongs to.
Timestamp when this contact detail was created.
Whether this is the preferred contact detail of its type for the contact.
Label or type name for the contact detail (e.g. 'Home phone', 'Email').
Identifiers of communication subscription groups associated with this contact detail.
Timestamp when this contact detail was last updated.
Raw value of the contact detail (e.g. phone number, email address).
Canonical unique identifier for the contact.
Timestamp when the contact was created.
Date of birth of the contact, if applicable.
Expiry date of the driver license.
Identifier for the owning organization or business unit.
Timestamp when the contact was last updated.
{ "businessName": "string", "code": "string", "contactDetails": [ { … } ], "contactId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "creditStatus": "OK", "birthDate": "2025-01-01T00:00:00Z", "driverLicenseExpiryDate": "2025-01-01T00:00:00Z", "driverLicenseIssuer": "string", "driverLicenseNumber": "string", "extensions": {}, "firstName": "string", "isBusiness": true, "isCustomer": true, "isStaffMember": true, "isSupplier": true, "isSyndicate": true, "isVet": true, "lastName": "string", "ownershipId": "123e4567-e89b-12d3-a456-426614174000", "physicalAddress": "string", "postalAddress": "string", "updatedAt": "2025-01-01T00:00:00.000Z", "creditStatusConcept": { "code": "string", "system": "string", "display": "string" } }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/contact/{contactId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/contact/{contactId}
- 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/contact/{contactId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'