SAP BI retrieving PDF from Web Service



Try using REST SDK to retrieve document and convert it in to PDF. Follow below steps:

  • Logon: POST /biprws/logon/long
  • Get the doc's prompts (if any) GET /biprws/raylight/v1/documents/5690743/parameters
  • Pass the correct values for the prompts (if any) and refresh the document: PUT /biprws/raylight/v1/documents/5690743/parameters
  • Export as PDF GET /biprws/raylight/v1/documents/5690743

In end you need to pass Accept: application/pdf in HTTP header to get PDF version.


Advertisements