Table of Contents

Search

  1. Preface
  2. Introduction to Services Integration Framework
  3. Setting Up the SIF SDK
  4. Request and Response Objects
  5. Transactions and Exception Handling
  6. ORS-Specific SIF API
  7. Asynchronous SIF Requests
  8. ORS-Specific JMS Event Messages
  9. Using Security Access Manager
  10. Using Dynamic Data Masking
  11. SIF API Reference
  12. Troubleshooting
  13. Appendix A: Identifiers
  14. Appendix B: Frequently Asked Questions

Services Integration Framework Guide

Services Integration Framework Guide

UpdateMatchRecord

UpdateMatchRecord

UpdateMatchRecord creates or updates records in the match table. The match table contains the pairs of matched records in a base object after you run a match process on the base object. Use the UpdateMatchRecord request to add or update records that qualify for a merge with the record being matched.

Request Parameters

An UpdateMatchRecord request contains the following parameters:
recordKey
Identifies the record that is a match to the record being matched.
matchedRecordKey
Identifies the record for which you add a match in the match table. The row ID of the matched record is the row ID of the consolidated record when you perform a merge operation.
autoMerge
Optional. Indicates whether to merge the matched records when the records are matched.
Set to true to merge matched records. Default is false.
matchReverse
Optional. Indicates whether you want to reverse the order of the match.
For example, if record 1 is the matched record and record 2 matches record 1, then record 2 is merged with record 1. The row ID of the consolidated record is that of record 1. If the matchReverse indicator is set to true, record 1 is merged with record 2. The row ID of the consolidated record is that of record 2.
Set to true to reverse the match order. Default is false.
matchRuleUid
Optional. Identifies the match rule you use to match the records.
taskId
Optional. Identifies the task that you want to associate with the match table record.

Response

The UpdateMatchRecord request returns a success message on updating the match table.

Usage Example

The following sample code adds a match record for the records with keys 111 and 222 in the match table:
UpdateMatchRecordRequest request = new UpdateMatchRecordRequest(); request.setMatchRuleUid(SiperianObjectType.MATCH_RULE.makeUid("MyMatchRule")); request.setRecordKey(RecordKey.sourceKey("111", "Acme")); request.setMatchedRecordKey(RecordKey.sourceKey("222", "Acme")); UpdateMatchRecordResponse response = (UpdateMatchRecordResponse) sipClient.process(request);

0 COMMENTS

We’d like to hear from you!