Bookshelf Home | Contents | Index | PDF |
Web Services Reference for Oracle Self-Service E-Billing > Customizing RESTful Resources > Customizing Analytics ResourcesMany of Oracle Self-Service E-Billing RESTful read APIs are provided through the Oracle Self-Service E-Billing reporting engine framework. Each resource is mapped to an Oracle Self-Service E-Billing report, in which data sources, SQL, and transformers can be specified in an XML configuration. With this flexible architecture, you can extend the current analytic REST resources if needed. Resource and Report ID Mapping FileAll preconfigured resources implemented using the reporting engine are listed in the ws_reportIdMap.properties file, located in the following directory, in which EDX_HOME is the directory where you installed Oracle Self-Service E-Billing: You can edit the ws_reportIdMap.properties file to customize or extend existing analytics RESTful resources. Each resource entry uses the following format: URI Resource=reportId, {reportId for B2C} URI Resource represents the resource without the input parameter, and reportId is the report identifier specified in the report XML file. If the same URI can be used for both the B2B and B2C applications but with a different report ID, then specify the report ID for the B2B application first, followed by the B2C application. Any additional parameters that you provide must be passed as parameters in the URL. The following report examples are from the report ID mapping property file: /analytics/{account_id}/service_agreements/{service_number}/overview=telco_std_r3,telco_std_b2c_r3 /statements/{statement_key}/account_summary=statementAccountSummary Resource Mapping CustomizationYou can use the Oracle Self-Service E-Billing reporting engine to define additional reporting XML. For more information on creating additional analytic reports, see Implementation Guide for Oracle Self-Service E-Billing. Oracle Self-Service E-Billing supports the following types of customization for Web services:
Creating Additional Analytic Resources with the Reporting EngineThe Oracle Self-Service E-Billing reporting engine supports many Web services for the GET operation. The reporting engine also includes a separate Velocity template, additional report elements, and attributes to create XML content for Web service responses. All Web service responses created using the reporting engine have a root node of <report> ...</report>. Some of the reporting elements and attributes are as follows:
|
Web Services Reference for Oracle Self-Service E-Billing | Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |