Table of Contents

Search

  1. Preface
  2. Introduction to Business Entity Services
  3. EJB Business Entity Service Calls
  4. REST Business Entity Service Calls
  5. REST APIs for Data Director
  6. SOAP Business Entity Service Calls
  7. Cross-reference Records and BVT Calculations Services
  8. Supporting Corporate Linkage Service
  9. External Calls to Cleanse, Analyze, and Transform Data
  10. Appendix A: Using REST APIs to Add Records
  11. Appendix B: Using REST APIs to Upload Files
  12. Appendix C: Using REST APIs to Manage Reports

Request URL

Request URL

The Preview Merge URL has the following format:
http://<host>:<port>/<context>/<database ID>/<business entity>/<rowid of the record>?action=previewMerge
The following Preview Merge URL format specifies the number of child levels to return:
http://<host>:<port>/<context>/<database ID>/<business entity>/<rowid of the record>?action=previewMerge&depth=2
Make the following HTTP POST request to the Preview Merge URL:
POST http://<host>:<port>/<context>/<database ID>/<business entity>/<rowid of the record>?action=previewMerge
In the request body, add the keys property and specify the root records that you want to merge with the target record.
To override matches for the child records, add the contentMetadata parameter:
POST http://<host>:<port>/<context>/<database ID>/<business entity>/<rowid of the record>?action=previewMerge&contentMetadata=MERGE/<json/xml>
In the request body, add the overrides property and specify the merge overrides.
To specify the media type of the data you want to send with the request, add the Content-Type header:
POST http://<host>:<port>/<context>/<database ID>/<business entity>/<rowid of the record>?action=previewMerge Content-Type: application/<json/xml>

0 COMMENTS

We’d like to hear from you!