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

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!