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

REST and EJB Business Entity Service Calls

REST and EJB Business Entity Service Calls

When you make a business entity service call, you might specify certain child branches instead of requesting the whole business entity.
For example, you want to perform a read operation on a business entity that has a Person root node and multiple child branches. The Person base object has Address, Phone, and Email child base objects. Each child base object has two grandchild base objects.
The following image shows the structure of a business entity with multiple branches:
You can read from multiple child branches at various depths in a single request. For example, you can read Person, Phone, Phone Details1, Phone Details 2, Email, and Email Details 2 in a single request.
The following URL sample shows how to make a REST read request to get the Person record with row ID 1242, in addition to the Address Details 1 and Email child records:
http://localhost:8080/cmx/cs/localhost-ORCL-DS_UI1/Person/1242?children=Address/Address_Details_1,Email

0 COMMENTS

We’d like to hear from you!