ContactMergePreviewDto

What merging contacts into a kept contact would produce. Nothing is changed.

Properties

Name Type Description
codestring

The contact that is kept.

The contact that is kept.

suggestedCodestring

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.

contactsarray 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.

fieldsarray of ContactMergeFieldDto

Each single-value field across the contacts.

Each single-value field across the contacts.

emailsarray of ContactMergeSharedValueDto

Every unique email address across the contacts, compared ignoring case.

Every unique email address across the contacts, compared ignoring case.

phoneNumbersarray 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.

clientsarray of ContactMergeClientDto

What happens to each client the contacts are linked to.

What happens to each client the contacts are linked to.

portalAccessContactMergePortalAccessDto
deletedContactCodesarray of string

The contacts deleted by the merge.

The contacts deleted by the merge.

resultUpdateContactRequest
blockersarray of ContactMergeBlockerDto

Why the contacts cannot be merged. Empty when they can.

Why the contacts cannot be merged. Empty when they can.

warningsarray of ContactMergeWarningDto

Things worth checking before merging. The merge is still allowed.

Things worth checking before merging. The merge is still allowed.

mergeStatusenum

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": "..."
    }
  ]
}

Used By Operations