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

Write the Correct Value to the Master Record Example

Write the Correct Value to the Master Record Example

Example 1
You want to change the name in the master record from Sam Brown to John Smith. The change is attributed to the Sales source system. The trust settings are set to the administrator trust settings.
The following code shows the URL and command for Example 1.
POST http://localhost:8080/cmx/cs/localhost-orcl-ORS/Person/123?systemName=Sales { "firstName": "John", "lastName": "Smith" "$original": { "firstName": "Sam", "lastName": "Brown" }, "TRUST": { "firstName": { "trustSetting" : { custom: false } { "lastName": { "trustSetting" : { custom: false } } } }
Example 2
You want to change the name in the master record from Sam Brown to John Smith. The change is attributed to the SFA source system. The trust settings are set to a minimum trust of 60 and a maximum trust of 90, and the trust decays linearly over a decay period of three months.
The following code shows the URL and command for Example 2.
POST http://localhost:8080/cmx/cs/localhost-orcl-ORS/Person/123?systemName=SFA { "firstName": "John", "lastName": "Smith" "$original": { "firstName": "Sam", "lastName": "Brown" }, "TRUST": { "firstName": { "trustSetting" : { custom: true, minimumTrust: 60, maximumTrust: 90, timeUnit: "Month", maximumTimeUnits: 3, graphType: "LINEAR" } { "lastName": { "trustSetting" : { custom: true, minimumTrust: 60, maximumTrust: 90, timeUnit: "Month", maximumTimeUnits: 3, graphType: "LINEAR" } } } }

0 COMMENTS

We’d like to hear from you!