Skip to Content
avatar image
Former Member

Restful api Not Refreshing Multiple values in InList Prompts

I am using Restful web service to refresh the document which as filter values with InList and EqualTo prompts. When saving the refreshed report into any format say PDF using Restful api the report data is incorrect. I am using the below XML as a request body.

<parameters>

    <parameter>

        <id>0</id>  

        <answer>      

            <values>

                <value>0</value>

                <value>2</value>

                <value>761</value>

                <value>858</value>

                <value>863</value>

                <value>867</value>

                <value>868</value>

                <value>869</value>

                <value>870</value>

                <value>871</value>

                <value>872</value>

                <value>873</value>

                <value>893</value>

            </values>

        </info>

    </answer>

</parameter>

<parameter>

    <id>1</id>

    <answer>

        <values>

            <value>BURDN</value>

        </values>

    </answer>

</parameter>

</parameters>

If I provide single value in InList and EqualTo Prompt then the report produces the correct data. But this is not the case when passing multiple InList values and EqualTo prompts.

Can any body please suggest me the possible solutions.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 04, 2016 at 09:40 PM

    it could be the "</info>" tag making the answer incorrect.  Try removing that.

    Also if you do a GET to the same URL after doing your "PUT" with multiple values, what does the response look like?

    Dan

    Add comment
    10|10000 characters needed characters exceeded

    • hi Raj

      1. Which one is "the correct XML body request" you are mentionning? The (good) one which Dan posted, or yours (which is wrong)?
      2. Please do activate "stack trace" in WebApplicationContainerServer (CMC / Servers) and copy-paste the response returned when you try to refresh the WebI document.
      3. Please also copy/paste the output of .../biprws/raylight/v1/about.

      Thanks and regards,

      eric