目录

Search

  1. 前言
  2. 业务实体服务简介
  3. EJB 业务实体服务调用
  4. REST 业务实体服务调用
  5. 适用于 Data Director 的 REST API
  6. SOAP 业务实体服务调用
  7. 交叉引用记录和 BVT 计算服务
  8. 支持企业关联服务
  9. 清理、分析和转换数据的外部调用
  10. 附录 , A: 使用 REST API 添加记录
  11. 附录 , B: 使用 REST API 上载文件
  12. 附录 , C: 使用 REST API 管理报告

业务实体服务指南

业务实体服务指南

管理预先提供的报告

管理预先提供的报告

要使用预先提供的报告收集主数据的相关数据,请运行与预先提供的报告关联的更新作业。运行更新作业后,可以在置备工具中使用报告数据填充图表组件。
在开始之前,请检查预先提供的报告并确定要使用的报告。有关详细信息,请参阅预先提供的报告
  1. 要运行与预先提供的报告关联的更新作业,请在浏览器地址栏中输入运行报告更新作业 REST API 中的 REST URL。
    例如,以下 REST URL 可运行与“任务概览(按状态)”报告关联的更新作业:
    http://localhost:8080/cmx/report/localhost-orcl-DS_UI1/data/collect/MDM.RPT.1
    您已注册报告,并开始根据报告条件收集数据。以下示例响应显示了报告更新作业的状态:
    { "status": "PROCESSING" }
  2. 要检索报告更新作业的状态,在浏览器地址栏中,输入获取报告更新作业状态 REST API 中的 REST URL。
    例如,以下 REST URL 可检索更新作业的状态:
    http://localhost:8080/cmx/report/localhost-orcl-DS_UI1/data/collect/MDM.RPT.1/status
    以下示例响应显示了报告更新作业的状态:
    { "status": "COMPLETED_SUCCESSFULLY", "jobId": "SVR1.2X9N1 ", "lastUpdateDate": "2019-10-31T14:37:11.846-04:00", "startRunDate": "2019-10-31T14:37:09.120-04:00" }
  3. 要检索报告配置和数据,请在浏览器地址栏中,输入获取报告配置和数据 REST API 中的 REST URL。
    例如,以下 REST URL 可检索报告配置和数据:
    http://localhost:8080/cmx/report/localhost-orcl-DS_UI1/data/MDM.RPT.1
    以下示例响应显示了报告配置和数据:
    { "metadata":{ "fieldsMetadata":[ "DIMENSION_VALUE_1", "DIMENSION_VALUE_2", "TIMEPERIOD_VALUE", "METRIC_VALUE", "DRILLDOWN_RPT_ID" ], "ROWID_RPT_CONFIG":"MDM.RPT.1 ", "DIMENSION_NAME_1":"Task Status", "METRIC_NAME":"Number of tasks", "DIMENSION_NAME_2":"Task Type", "TIMEPERIOD_NAME":null, "RPT_NAME":"Task Status/Type Report", "RPT_DESC":"Metrics for task status/type", "RPT_TYPE":null }, "data":[ [ "Overdue", "AVOSBeMerge", null, "36", "SVR1.4FCA2 " ], [ "Overdue", "AVOSBeReviewNoApprove", null, "189", "SVR1.4FC8E " ], [ "Overdue", "AVOSBeUpdate", null, "1", "SVR1.4FCAQ " ], [ "Overdue", "AVOSBeFinalReview", null, "1", "SVR1.4FC9W " ] ... ] }
  4. 要检索报告配置和向下钻取报告,请使用获取报告配置和向下钻取报告 REST API。
    例如,以下 REST URL 可检索报告配置和向下钻取报告:
    http://localhost:8080/cmx/report/localhost-orcl-DS_UI1/meta/MDM.RPT.1
    以下示例响应显示了报告配置和向下钻取报告:
    { "ROWID_RPT_CONFIG":"MDM.RPT.1", "DIMENSION_NAME_1":"Task Status", "METRIC_NAME":"Number of tasks", "DIMENSION_NAME_2":"Task Type", "TIMEPERIOD_NAME":null, "RPT_NAME":"Task Status/Type Report", "RPT_DESC":"Metrics for task status/type", "RPT_TYPE":null, "DRILLDOWN":[ { "RPT_NAME":"Task's Owner per Task Status and Task Type", "DETAILED_RPT_IDS":[ "SVR1.4FCA3", "SVR1.4FCA4", "SVR1.4FCA5", "SVR1.4FCA6", "SVR1.4FCA7", "SVR1.4FC8F", "SVR1.4FC8G", "SVR1.4FC8H", "SVR1.4FC8I", "SVR1.4FC8J", "SVR1.4FCAR", "SVR1.4FCAS", "SVR1.4FCAT", "SVR1.4FCAU", "SVR1.4FCAV", "SVR1.4FC9X", "SVR1.4FC9Y", "SVR1.4FC9Z", "SVR1.4FCA0", "SVR1.4FCA1", "SVR1.4FC9L", "SVR1.4FC9M", "SVR1.4FC9N", "SVR1.4FC9O", "SVR1.4FC9P", "SVR1.4FC8L", "SVR1.4FC8M", "SVR1.4FC8N", "SVR1.4FC8O" ], "CONFIG_RPT_IDS":[ "SVR1.4FCA2", "SVR1.4FC8E", "SVR1.4FCAQ", "SVR1.4FC9W", "SVR1.4FC9K", "SVR1.4FC8K", "SVR1.4FCAW", "SVR1.4FC9E", "SVR1.4FC88", "SVR1.4FC8W", "SVR1.4FC82", "SVR1.4FC92", "SVR1.4FC98", "SVR1.4FCAE", "SVR1.4FCA8", "SVR1.4FCB8", "SVR1.4FC9Q", "SVR1.4FCAK", "SVR1.4FC8Q", "SVR1.4FCB2" ] } ] }