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/address/{addressId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/address/{addressId}
- 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/address/{addressId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Address found
Canonical unique identifier for the address.
Identifier of the contact this address belongs to.
ISO 3166-1 alpha-2 country code when available; otherwise a system-specific country identifier.
Timestamp when the address was created.
Timestamp when the address was last updated.
{ "addressId": "123e4567-e89b-12d3-a456-426614174000", "city": "Sydney", "contactId": "123e4567-e89b-12d3-a456-426614174000", "countryCode": "AU", "createdAt": "2025-01-01T00:00:00.000Z", "distance": { "value": 1.5, "unit": "km", "system": "http://unitsofmeasure.org" }, "extensions": {}, "isActive": true, "latitude": -33.8688, "line1": "123 Main Street", "line2": "Suite 100", "longitude": 151.2093, "name": "Home", "postalCode": "2000", "region": "New South Wales", "state": "NSW", "suburb": "Sydney", "updatedAt": "2025-01-01T00:00:00.000Z", "country": { "code": "12345", "system": "http://example.com/codesystem", "display": "Example Display Name" } }
Identifier of the contact this address belongs to.
ISO 3166-1 alpha-2 country code when available; otherwise a system-specific country identifier.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/address/{addressId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/address/{addressId}
- 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/address/{addressId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"city": "Sydney",
"contactId": "123e4567-e89b-12d3-a456-426614174000",
"countryCode": "AU",
"distance": {
"value": 1.5,
"unit": "km",
"system": "http://unitsofmeasure.org"
},
"extensions": {},
"isActive": true,
"latitude": -33.8688,
"line1": "123 Main Street",
"line2": "Suite 100",
"longitude": 151.2093,
"name": "Home",
"postalCode": "2000",
"region": "New South Wales",
"state": "NSW",
"suburb": "Sydney",
"country": {
"code": "12345",
"system": "http://example.com/codesystem",
"display": "Example Display Name"
}
}'Address updated successfully
Canonical unique identifier for the address.
Identifier of the contact this address belongs to.
ISO 3166-1 alpha-2 country code when available; otherwise a system-specific country identifier.
Timestamp when the address was created.
Timestamp when the address was last updated.
{ "addressId": "123e4567-e89b-12d3-a456-426614174000", "city": "Sydney", "contactId": "123e4567-e89b-12d3-a456-426614174000", "countryCode": "AU", "createdAt": "2025-01-01T00:00:00.000Z", "distance": { "value": 1.5, "unit": "km", "system": "http://unitsofmeasure.org" }, "extensions": {}, "isActive": true, "latitude": -33.8688, "line1": "123 Main Street", "line2": "Suite 100", "longitude": 151.2093, "name": "Home", "postalCode": "2000", "region": "New South Wales", "state": "NSW", "suburb": "Sydney", "updatedAt": "2025-01-01T00:00:00.000Z", "country": { "code": "12345", "system": "http://example.com/codesystem", "display": "Example Display Name" } }
Identifier of the contact this address belongs to.
ISO 3166-1 alpha-2 country code when available; otherwise a system-specific country identifier.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/address/{addressId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/address/{addressId}
- 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/address/{addressId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"city": "Sydney",
"contactId": "123e4567-e89b-12d3-a456-426614174000",
"countryCode": "AU",
"distance": {
"value": 1.5,
"unit": "km",
"system": "http://unitsofmeasure.org"
},
"extensions": {},
"isActive": true,
"latitude": -33.8688,
"line1": "123 Main Street",
"line2": "Suite 100",
"longitude": 151.2093,
"name": "Home",
"postalCode": "2000",
"region": "New South Wales",
"state": "NSW",
"suburb": "Sydney",
"country": {
"code": "12345",
"system": "http://example.com/codesystem",
"display": "Example Display Name"
}
}'Address replaced successfully
Canonical unique identifier for the address.
Identifier of the contact this address belongs to.
ISO 3166-1 alpha-2 country code when available; otherwise a system-specific country identifier.
Timestamp when the address was created.
Timestamp when the address was last updated.
{ "addressId": "123e4567-e89b-12d3-a456-426614174000", "city": "Sydney", "contactId": "123e4567-e89b-12d3-a456-426614174000", "countryCode": "AU", "createdAt": "2025-01-01T00:00:00.000Z", "distance": { "value": 1.5, "unit": "km", "system": "http://unitsofmeasure.org" }, "extensions": {}, "isActive": true, "latitude": -33.8688, "line1": "123 Main Street", "line2": "Suite 100", "longitude": 151.2093, "name": "Home", "postalCode": "2000", "region": "New South Wales", "state": "NSW", "suburb": "Sydney", "updatedAt": "2025-01-01T00:00:00.000Z", "country": { "code": "12345", "system": "http://example.com/codesystem", "display": "Example Display Name" } }