Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

EngagementRecordDetails Class

Stores the details of the conversation between a customer and an agent, including engagement record ID, start time, end time, and conversation identifier.

Namespace

DataRetrieval

EngagementRecordDetails Constructors

Use the EngagementRecordDetails constructor to initialize the EngagementRecordDetails class that stores the details of the conversation between a customer and an agent.

The EngagementRecordDetails class includes these constructors.

EngagementRecordDetails(recordId, conversationIdentifier, startDateTime, endDateTime)

Creates an instance of the DataRetrieval.EngagementRecordDetails class to store the ID of the engagement record, conversation ID, start date, and end date associated with a conversation between a customer and an agent.

Signature

public EngagementRecordDetails(String recordId, String conversationIdentifier, Datetime startDateTime, Datetime endDateTime)

1DataRetrieval.EngagementRecordDetails, newinstance, [String, String, Datetime, Datetime], DataRetrieval.EngagementRecordDetails

Parameters

recordId
Type: String
ID of the engagement record that's associated with the interaction between a customer and an agent.
conversationIdentifier
Type: String
Unique identifier of a conversation session between a customer and an agent.
startDateTime
Type: Datetime
Date and time the conversation started.
endDateTime
Type: Datetime
Date and time the conversation ended.

EngagementRecordDetails()

Creates an instance of the DataRetrieval.EngagementRecordDetails class.

Signature

public EngagementRecordDetails()

1DataRetrieval.EngagementRecordDetails, newinstance, [], DataRetrieval.EngagementRecordDetails