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. Appendix A: Using REST APIs to Add Records
  10. Appendix B: Using REST APIs to Upload Files
  11. Appendix C: Using REST APIs to Manage Reports

Step 1. Test Custom Validation

Step 1. Test Custom Validation

Use the Create API to create the following Person record without an address:
POST http://localhost:8080/cmx/cs/localhost-orcl-mdm_Sample/Person?systemName=Admin { firstName: "John" }
You get a validation error.
Use the Create API to create the following Person record with an address:
POST http://localhost:8080/cmx/cs/localhost-orcl-mdm_Sample/Person?systemName=Admin { firstName: "John", Addresses: { item: [ { cityName: "Toronto" } ] } }
The request creates a Person record.

0 COMMENTS

We’d like to hear from you!