Skip to Content
0
Former Member
Jul 27, 2016 at 12:43 PM

How to create prompts for webi report using restful ?

309 Views

Hi,

I need to create a prompts for the webi report in 4.2 using restful which has no predefined prompts.

1 . PUT method

/biprws/raylight/v1/documents/xxxx/parameters/

<parameters>

<parameter optional="false" type="prompt" dpId="DP0">

<id>0</id>

<technicalName>Value >=</technicalName>

<name>Value >=</name>

<answer constrained="false" type="Numeric">

<info cardinality="Single" keepLastValues="true">

<previous>

<value>0</value>

</previous>

</info>

<values>

<value>0</value>

</values>

</answer>

</parameter>

</parameters>

2. response

<error>

<error_code>RWS 00057</error_code>

<message>Method not allowed; method specified in the Request-Line is not allowed for the resource identified by the Request-URI (RWS 00057)</message>

</error>