Properties
| Name | Type | Description |
|---|---|---|
| code | string | The contact that is kept. |
The contact that is kept. | ||
| suggestedCode | string | The contact best kept: an active portal login, then an individual client, then most clients, then most details, then oldest. |
The contact best kept: an active portal login, then an individual client, then most clients, then most details, then oldest. | ||
| contacts | array of ContactMergeContactDto | The kept contact first, then the merged contacts in the order given. |
The kept contact first, then the merged contacts in the order given. | ||
| fields | array of ContactMergeFieldDto | Each single-value field across the contacts. |
Each single-value field across the contacts. | ||
| emails | array of ContactMergeSharedValueDto | Every unique email address across the contacts, compared ignoring case. |
Every unique email address across the contacts, compared ignoring case. | ||
| phoneNumbers | array of ContactMergeSharedValueDto | Every unique phone number across the contacts, compared ignoring spaces and symbols, with + and 00 treated alike. |
Every unique phone number across the contacts, compared ignoring spaces and symbols, with + and 00 treated alike. | ||
| clients | array of ContactMergeClientDto | What happens to each client the contacts are linked to. |
What happens to each client the contacts are linked to. | ||
| portalAccess | ContactMergePortalAccessDto | |
| deletedContactCodes | array of string | The contacts deleted by the merge. |
The contacts deleted by the merge. | ||
| result | UpdateContactRequest | |
| blockers | array of ContactMergeBlockerDto | Why the contacts cannot be merged. Empty when they can. |
Why the contacts cannot be merged. Empty when they can. | ||
| warnings | array of ContactMergeWarningDto | Things worth checking before merging. The merge is still allowed. |
Things worth checking before merging. The merge is still allowed. | ||
| mergeStatus | enum | Ready DetailsToChoose CheckSamePerson Blocked |
Ready DetailsToChoose CheckSamePerson Blocked | ||
JSON Example
{
"code": "string",
"suggestedCode": "string",
"contacts": [
{
"code": "...",
"name": "...",
"hasPortalAccess": "...",
"isCompaniesHouseOfficer": "...",
"clients": "..."
}
],
"fields": [
{
"field": "...",
"keptContactCode": "...",
"hasConflict": "...",
"values": "..."
}
],
"emails": [
{
"value": "...",
"contactCodes": "..."
}
]
}