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

Sample API Request

Sample API Request

Request with the q parameter

The following sample request searches the Person business entity for records with the name STEVE.
GET http://localhost:8080/cmx/cs/localhost-orcl-DS_UI1/Person?q=STEVE

Request with the fq parameter

The following sample request searches the Person business entity for records with the display name STEVE. The displayName field is an indexed field.
GET http://localhost:8080/cmx/cs/localhost-orcl-DS_UI1/Person?fq=displayName=STEVE

Request with the sort option

The following sample request searches the Person business entity for records with the display name STEVE and sorts the results by city in ascending order:
GET http://localhost:8080/cmx/cs/localhost-orcl-DS_UI1/Person?fq=displayName=STEVE&order=BillAddresses.Address.cityName

Request with the fq parameter and the AND logical operator

The following sample request searches the Person business entity for records with the display name STEVE and the tax ID DM106:
GET http://localhost:8080/cmx/cs/localhost-orcl-DS_UI1/Person?fq=displayName=STEVE AND taxId=DM106

Request with a facet

The following sample request searches the Person business entity for records with the display name STEVE and narrows down the results by grouping them into departments:
GET http://localhost:8080/cmx/cs/localhost-orcl-DS_UI1/Person?fq=displayName=STEVE&facets=department

Request with a filter (exact filter)

The following sample request searches the Person business entity for records with the display name STEVE and filters by the specified city and country:
GET http://localhost:8080/cmx/cs/localhost-orcl-DS_UI1/Person?fq=displayName=STEVE&filters=cityName=Canberra AND country=Australia

Request with a filter range

The following sample request searches the Person business entity for records with display name STEVE and filters by the age group 35 to 45:
GET http://localhost:8080/cmx/cs/localhost-orcl-DS_UI1/Person?fq=displayName=STEVE&filters=age=[35,45] AND cityName=Canberra

0 COMMENTS

We’d like to hear from you!