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 address.
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
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/address
- 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/address' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"addressId": "123e4567-e89b-12d3-a456-426614174000",
"city": "string",
"contactId": "123e4567-e89b-12d3-a456-426614174000",
"countryCode": "string",
"distance": {
"value": 0,
"unit": "string",
"system": "string"
},
"extensions": {},
"isActive": true,
"latitude": 0,
"line1": "string",
"line2": "string",
"longitude": 0,
"name": "string",
"postalCode": "string",
"region": "string",
"state": "string",
"suburb": "string",
"country": {
"code": "string",
"system": "string",
"display": "string"
}
}'Address created 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": "string", "contactId": "123e4567-e89b-12d3-a456-426614174000", "countryCode": "string", "createdAt": "2025-01-01T00:00:00.000Z", "distance": { "value": 0, "unit": "string", "system": "string" }, "extensions": {}, "isActive": true, "latitude": 0, "line1": "string", "line2": "string", "longitude": 0, "name": "string", "postalCode": "string", "region": "string", "state": "string", "suburb": "string", "updatedAt": "2025-01-01T00:00:00.000Z", "country": { "code": "string", "system": "string", "display": "string" } }
Field to sort by
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
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/address
- 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?page=0&pageSize=10&sortBy=createdAt&sortOrder=asc&city=string&contactId=123e4567-e89b-12d3-a456-426614174000&countryCode=string&isActive=true&line1=string&line2=string&name=string&postalCode=string®ion=string&state=string&suburb=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- 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": "string", "contactId": "123e4567-e89b-12d3-a456-426614174000", "countryCode": "string", "createdAt": "2025-01-01T00:00:00.000Z", "distance": { "value": 0, "unit": "string", "system": "string" }, "extensions": {}, "isActive": true, "latitude": 0, "line1": "string", "line2": "string", "longitude": 0, "name": "string", "postalCode": "string", "region": "string", "state": "string", "suburb": "string", "updatedAt": "2025-01-01T00:00:00.000Z", "country": { "code": "string", "system": "string", "display": "string" } }
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": "string",
"contactId": "123e4567-e89b-12d3-a456-426614174000",
"countryCode": "string",
"distance": {
"value": 0,
"unit": "string",
"system": "string"
},
"extensions": {},
"isActive": true,
"latitude": 0,
"line1": "string",
"line2": "string",
"longitude": 0,
"name": "string",
"postalCode": "string",
"region": "string",
"state": "string",
"suburb": "string",
"country": {
"code": "string",
"system": "string",
"display": "string"
}
}'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": "string", "contactId": "123e4567-e89b-12d3-a456-426614174000", "countryCode": "string", "createdAt": "2025-01-01T00:00:00.000Z", "distance": { "value": 0, "unit": "string", "system": "string" }, "extensions": {}, "isActive": true, "latitude": 0, "line1": "string", "line2": "string", "longitude": 0, "name": "string", "postalCode": "string", "region": "string", "state": "string", "suburb": "string", "updatedAt": "2025-01-01T00:00:00.000Z", "country": { "code": "string", "system": "string", "display": "string" } }
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": "string",
"contactId": "123e4567-e89b-12d3-a456-426614174000",
"countryCode": "string",
"distance": {
"value": 0,
"unit": "string",
"system": "string"
},
"extensions": {},
"isActive": true,
"latitude": 0,
"line1": "string",
"line2": "string",
"longitude": 0,
"name": "string",
"postalCode": "string",
"region": "string",
"state": "string",
"suburb": "string",
"country": {
"code": "string",
"system": "string",
"display": "string"
}
}'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": "string", "contactId": "123e4567-e89b-12d3-a456-426614174000", "countryCode": "string", "createdAt": "2025-01-01T00:00:00.000Z", "distance": { "value": 0, "unit": "string", "system": "string" }, "extensions": {}, "isActive": true, "latitude": 0, "line1": "string", "line2": "string", "longitude": 0, "name": "string", "postalCode": "string", "region": "string", "state": "string", "suburb": "string", "updatedAt": "2025-01-01T00:00:00.000Z", "country": { "code": "string", "system": "string", "display": "string" } }
- 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 DELETE \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/address/{addressId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'