Using BIRT APIs in applications
This section discusses how to incorporate BIRT data objects and reports into your web application. The BIRT files contain your data, report templates, and visualizations. The BIRT iHub server supports application development using the REST API and JavaScript API (JSAPI).
You can use one or both of these APIs to integrate BIRT visualizations and access data files stored in BIRT iHub servers.
The REST API supports:
*Authenticating users
*Searching for BIRT files
*Running jobs from BIRT designs with selected parameters and locales
*Downloading reports in PDF and Excel formats
*Downloading and filtering data in JSON or CSV format
An application can extract data from iHub using the REST API and use the values to navigate content or send the values to a third‑party data visualization, such as a chart or map.
The JSAPI supports:
*Embedding interactive BIRT visualizations in web pages
*Handling scripted events within BIRT reports or BIRT report elements
*Accessing table of contents and parameters in BIRT reports
*Operating the BIRT Interactive Viewer and Crosstabs
BIRT visualizations, such as a chart, table or a multi- page BIRT report display in interactive web pages using JSAPI.
Use these APIs to access and generate BIRT content, enabling your application to display secure, interactive data visualizations in any programming language that supports REST and JavaScript.