Report API

The Report API Resource is used to read records based on the Platform report framework, i.e. ".reports" files.

To add a new Report API, select "Report" under "Rest APIs" and click "Add Report API Resource" from the context menu or toolbar:

images/download/attachments/144835837/ReportAPIs-version-1-modificationdate-1611095128000-api-v2.png

The developer must provide a unique resource name (automatically prefixed with module prefix to avoid conflicts across modules) and report name to define a Report API.

Both report override and injections (if available) will be honored for a report, but the JSON listener defined on a report will not be honored. Instead, the developer can provide an optional listener class implementing com.onenetwork.platform.integ.rest.report.ReportAPIResourceListener to manipulate the Report API request and response.

The Report API provides the following APIs: