目录

Search

  1. 前言
  2. 业务实体服务简介
  3. Enterprise Java Bean 业务实体服务调用
  4. 具象状态传输业务实体服务调用
  5. 简单对象访问协议业务实体服务调用
  6. 用于交叉引用记录和 BVT 计算的服务
  7. 支持企业关联服务
  8. 清理、分析和转换数据的外部调用
  9. 使用 REST API 添加记录
  10. 使用 REST API 上载文件

业务实体服务指南

业务实体服务指南

示例 API 响应

示例 API 响应

实体和关系的示例响应包含安全权限。第一个
operations
部分定义了可能的权限。
object
部分列出了您对整个业务实体或关系的权限。
fields
部分定义了您在字段级别的权限。
以下示例以 JSON 格式显示了“人员”业务实体的部分数据结构。
{ "operations": { "read": { "allowed": true }, "search": { "allowed": true }, "create": { "allowed": true, "task": { "template": { "title": "Review changes in {taskRecord[0].label}", "priority": "NORMAL", "dueDate": "2018-04-24T09:28:13.455-04:00", "taskType": "AVOSBeUpdate", "comment": "This is urgent. Please review ASAP" }, "comment": "AS_REQUIRED", "attachment": "OPTIONAL" } }, "update": { "allowed": true, "task": { "template": { "title": "Review changes in {taskRecord[0].label}", "priority": "NORMAL", "dueDate": "2018-04-24T09:28:13.455-04:00", "taskType": "AVOSBeUpdate", "comment": "This is urgent. Please review ASAP" }, "comment": "AS_REQUIRED", "attachment": "OPTIONAL" } }, "merge": { "allowed": true, "task": { "template": { "title": "Review changes in {taskRecord[0].label}", "priority": "NORMAL", "dueDate": "2018-04-24T09:28:13.455-04:00", "taskType": "AVOSBeMerge", "comment": "This is urgent. Please review ASAP" }, "comment": "AS_REQUIRED", "attachment": "OPTIONAL" } }, "delete": { "allowed": true }, "unmerge": { "allowed": true, "task": { "template": { "title": "Review changes in {taskRecord[0].label}", "priority": "NORMAL", "dueDate": "2018-04-24T09:28:13.455-04:00", "taskType": "AVOSBeUnmerge", "comment": "This is urgent. Please review ASAP" }, "comment": "AS_REQUIRED", "attachment": "OPTIONAL" } } }, "objectType": "ENTITY", "timeline": true, "object": { "operations": { "read": { "allowed": true }, "create": { "allowed": true }, "update": { "allowed": true }, "merge": { "allowed": true }, "delete": { "allowed": true }, "unmerge": { "allowed": true } }, "field": [ { "operations": { "read": { "allowed": true }, "create": { "allowed": true }, "update": { "allowed": true } }, "allowedValues": [ "Person" ], "searchable": { "filterable": true, "facet": true }, "name": "partyType", "label": "Party Type", "dataType": "String", "length": 255 }, { "operations": { "read": { "allowed": true }, "create": { "allowed": true }, "update": { "allowed": true } }, "name": "lastName", "label": "Last Name", "dataType": "String", "length": 50 }, { "operations": { "read": { "allowed": true }, "create": { "allowed": true }, "update": { "allowed": true } }, "searchable": { "filterable": true, "facet": true }, "name": "displayName", "label": "Display Name", "dataType": "String", "length": 200 }, ... ], "name": "Person", "label": "Person", "many": false } }