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

JSON Format

JSON Format

When you use the JSON request format, define the request object with the type attribute.
Use the following JSON format to specify a request object:
{ "type"="<request object>" "<attribute1>": "<value1>", "<attribute2>": "<value2>", }
The following example shows the JSON representation of a request object:
{ "type"="task" taskType: {name:"UpdateWithApprovalWorkflow"}, taskId: "urn:b4p2:5149", owner: "manager", title: "Smoke test task 222", comments: "Smoke testing", dueDate: "2015-06-15T00:00:00", status: "OPEN", priority: "NORMAL", creator: "admin", createDate: "2015-06-15T00:00:00", updatedBy: "admin", lastUpdateDate: "2015-06-15T00:00:00", businessEntity: "Person", orsId: "localhost-orcl-DS_UI1", processId: 'IDDUpdateWithApprovalTask', taskRecord: [{ businessEntity:{ name: 'Person', key:{ rowid: '123', systemName: '', sourceKey: '' } } }] }

0 COMMENTS

We’d like to hear from you!