Skip to Content
author's profile photo Former Member
Former Member

Passing parameters to a report using RESTful SDK

Have anyone used RESTful SDK to generate a PDF/XLS report that takes filters/parameters?

I have seen many posts that create a report but won't take any parameters. I couldn't find any documentation either. Not sure if I need to pass the parameters in the header or in the URI.

My requirement is to call a WEBI report that might filter data based on the values passed and generate either a PDF or XLS. So far we have simple filters that filter data by customer, date etc.

Any help is greatly appreciated.



Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Best Answer
    Posted on Apr 12, 2016 at 08:34 AM

    Hi Sher,

    So, you need first to apply report filters to your document ? And they, export it to PDF, correct?

    You find the official documentation is not clear enough about these points?

    Best regards,


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Thank you Daniel and Richard for pointing me in the right direction, I am now able to pass query filters (parameters) to a WEBI document and export a PDF using the RESTful SDK,


      You are correct about the Id. When not passed, I got an error back stating that either "id, technicalName, description" is required when passing parameters.

      My next step is to test printing/export to Excel. I guess only change will be to change the content type to "application/".

      Appreciate your help.