Table of Contents

Search

  1. Preface
  2. Introduction to Business Entity Services
  3. Enterprise Java Bean Business Entity Service Calls
  4. Representational State Transfer Business Entity Service Calls
  5. Simple Object Access Protocol Business Entity Service Calls
  6. Services for Cross-reference Records and BVT Calculations
  7. Supporting Corporate Linkage Service
  8. External Calls to Cleanse, Analyze, and Transform Data
  9. Using REST APIs to Add Records
  10. Using REST APIs to Upload Files

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!