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 identifier for this contact detail.
Identifier of the contact this detail belongs to.
Identifiers of communication subscription groups associated with this contact detail.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/contact-detail
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/contact-detail
- 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-detail' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"contactDetailId": "123e4567-e89b-12d3-a456-426614174000",
"contactDetailType": {
"code": "string",
"system": "string",
"display": "string"
},
"contactId": "123e4567-e89b-12d3-a456-426614174000",
"extensions": {},
"isActive": true,
"isPreferred": true,
"name": "string",
"subscriptionGroups": [
"string"
],
"value": "string",
"valueCleaned": "string"
}'Contact Detail created successfully
Canonical identifier for this contact detail.
Identifier of the contact this detail belongs to.
Timestamp when this contact detail was created.
Identifiers of communication subscription groups associated with this contact detail.
Timestamp when this contact detail was last updated.
{ "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" }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/contact-detail
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/contact-detail
- 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-detail?page=0&pageSize=10&sortBy=createdAt&sortOrder=asc&contactId=123e4567-e89b-12d3-a456-426614174000&isActive=true&isPreferred=true&name=string&value=string&valueCleaned=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/contact-detail/{contactDetailId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/contact-detail/{contactDetailId}
- 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-detail/{contactDetailId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Contact Detail found
Canonical identifier for this contact detail.
Identifier of the contact this detail belongs to.
Timestamp when this contact detail was created.
Identifiers of communication subscription groups associated with this contact detail.
Timestamp when this contact detail was last updated.
{ "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" }
Identifier of the contact this detail belongs to.
Identifiers of communication subscription groups associated with this contact detail.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/contact-detail/{contactDetailId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/contact-detail/{contactDetailId}
- 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-detail/{contactDetailId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"contactDetailType": {
"code": "string",
"system": "string",
"display": "string"
},
"contactId": "123e4567-e89b-12d3-a456-426614174000",
"extensions": {},
"isActive": true,
"isPreferred": true,
"name": "string",
"subscriptionGroups": [
"string"
],
"value": "string",
"valueCleaned": "string"
}'Contact Detail updated successfully
Canonical identifier for this contact detail.
Identifier of the contact this detail belongs to.
Timestamp when this contact detail was created.
Identifiers of communication subscription groups associated with this contact detail.
Timestamp when this contact detail was last updated.
{ "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" }
Identifier of the contact this detail belongs to.
Identifiers of communication subscription groups associated with this contact detail.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/contact-detail/{contactDetailId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/contact-detail/{contactDetailId}
- 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-detail/{contactDetailId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"contactDetailType": {
"code": "string",
"system": "string",
"display": "string"
},
"contactId": "123e4567-e89b-12d3-a456-426614174000",
"extensions": {},
"isActive": true,
"isPreferred": true,
"name": "string",
"subscriptionGroups": [
"string"
],
"value": "string",
"valueCleaned": "string"
}'Contact Detail replaced successfully
Canonical identifier for this contact detail.
Identifier of the contact this detail belongs to.
Timestamp when this contact detail was created.
Identifiers of communication subscription groups associated with this contact detail.
Timestamp when this contact detail was last updated.
{ "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" }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/contact-detail/{contactDetailId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/contact-detail/{contactDetailId}
- 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-detail/{contactDetailId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'