match()

Evaluates sObjects provided as an input for matches among Leads, using the matching rule specified in the input MatchOptions. This call can be used only with the Standard Matching Rule for Leads on Accounts.

This operation is available in API versions 42.0 and later, in Professional, Enterprise, Performance, and Unlimited Editions with Pardot Pro or Pardot Ultimate Edition.

Syntax 

1MatchResult[] callResults = connection.match(SObject[] inputSObjectArray, MatchOptions
2   matchOptions);

Arguments 

NameTypeDescription
inputSObjectArrayArray of sObjectA list of sObjects to evaluate for matches.
matchOptionsMatchOptionsOptions, such as the match rule, used during the match operation.

Response 

MatchResult