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.

MatchRecord Class

Represents a duplicate record detected by a matching rule.

Namespace

Datacloud

MatchRecord Methods

The following are methods for MatchRecord.

getAdditionalInformation()

Returns other information about a matched record. For example, a matchGrade represents the quality of the data for the D&B fields in the matched record.

Signature

public List<Datacloud.AdditionalInformationMap> getAdditionalInformation()

Return Value

Type: List<Datacloud.AdditionalInformationMap>

getFieldDiffs()

Returns all matching rule fields and how each field value compares for the duplicate and its matching record.

Signature

public List<Datacloud.FieldDiff> getFieldDiffs()

Return Value

Type: List<Datacloud.FieldDiff>

getMatchConfidence()

Returns the ranking of how similar a matched record’s data is to the data in your request. Must be equal to or greater than the value of the minMatchConfidence specified in your request. Returns -1 if unused.

Signature

public Double getMatchConfidence()

Return Value

Type: Double

getRecord()

Returns the fields and field values for the duplicate.

Signature

public SObject getRecord()

Return Value

Type: SObject