Partially updates an existing Contact Association. Only provided fields will be updated.
Security
bearer
Classification of the relationship between the contacts.
Enum:"family""other"
Example:"family"
- Mock serverhttps://docs.axiomera.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/contact-association/{contactAssociationId}
- Local Developmenthttp://localhost:8083/site/{siteId}/ahds/v1/contact-association/{contactAssociationId}
curl -i -X PATCH \
'https://docs.axiomera.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": "12345",
"system": "http://example.com/codesystem",
"display": "Example Display Name"
}
}'Contact Association updated successfully
Associated/related contact.
Example:"123e4567-e89b-12d3-a456-426614174000"
Classification of the relationship between the contacts.
Enum:"family""other"
Example:"family"
Canonical identifier for this contact association.
Example:"123e4567-e89b-12d3-a456-426614174000"
Primary contact in the association.
Example:"123e4567-e89b-12d3-a456-426614174000"
Timestamp when the association was created.
Example:"2025-01-01T00:00:00.000Z"
Timestamp when the association was last updated.
Example:"2025-01-01T00:00:00.000Z"
Response
{ "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": "12345", "system": "http://example.com/codesystem", "display": "Example Display Name" } }