API Docs / Schemas / ConversationWithAssociationsDto

ConversationWithAssociationsDto

A conversation's messages enriched with client associations derived from email rules.

Properties

Name Type Description
messagesarray of ExternalMailboxEmailSummaryDto

The messages in this conversation, ordered by date

The messages in this conversation, ordered by date

clientAssociationsarray of ConversationClientAssociationDto

Clients associated with this conversation based on participant email addresses matching client email rules.
Empty if no participants match any rules.

Clients associated with this conversation based on participant email addresses matching client email rules.
Empty if no participants match any rules.

suggestedClientsarray of ConversationClientSuggestionDto

Suggested clients to associate with this conversation, based on participant email addresses
matching client or contact email addresses. Only populated when there are no existing associations.

Suggested clients to associate with this conversation, based on participant email addresses
matching client or contact email addresses. Only populated when there are no existing associations.

participantEmailsarray of string

The unique participant email addresses from this conversation's messages.
Useful for creating association rules from the frontend.

The unique participant email addresses from this conversation's messages.
Useful for creating association rules from the frontend.

taskAssociationsarray of CodeAndNameDto

Tasks explicitly linked to this conversation by users.

Tasks explicitly linked to this conversation by users.

JSON Example

{
  "messages": [
    {
      "uniqueId": "...",
      "direction": "...",
      "subject": "...",
      "fromEmail": "...",
      "fromName": "..."
    }
  ],
  "clientAssociations": [
    {
      "clientCode": "...",
      "clientName": "..."
    }
  ],
  "suggestedClients": [
    {
      "clientCode": "...",
      "clientName": "...",
      "matchedEmail": "...",
      "matchedVia": "..."
    }
  ],
  "participantEmails": [
    "string"
  ],
  "taskAssociations": [
    {
      "code": "...",
      "name": "..."
    }
  ]
}

Used By Operations