How to call REST API from BIRT report with JWT token

Krunal Umak
edited February 11, 2022 in Analytics #1

I have a requirement of calling REST endpoints from BIRT report. I created a simple report which is consuming response and showing data correctly. 

But I could not find solution for below use cases:

  1. REST call to fetch JWT token using credentials.
  2. REST call to any request with already fetched JWT token
  3. REST call to for pagination support
    1. In a report one shot ( report should call implicitly multiple requests)
    2. In report pagination, call APIs on click of next /previous button

Comments

  • Sharing the internal response on the forums:

    Use BIRT scripting and an HTTPConnection object.  Do a Javascript eval() call to parse the results.

    Warning No formatter is installed for the format ipb