on 09-16-2016 8:06 PM
Hi all,
Could anyone help me here? I've been trying to schedule a Web Intelligence Document using RESTFul Web Service. Here is my scenario. The document contains optional and mandatory prompts and every time I try to schedule informing the prompt values, I get the RWS 00026 error (as you can see bellow).
I'm following the tutorial posted at discussion. In order to schedule the webi I'm sending a post like bellow:
The xml body content is:
<schedule>
<name>297Mensal</name>
<format type="webi"/>
<destination><inbox/></destination>
<parameters>
<parameter optional="true" type="prompt" dpId="DP16">
<id>0</id>
<technicalName>Vara do Trabalho</technicalName>
<name>Vara do Trabalho</name>
<answer>
<values><value>10ª VARA DO TRABALHO DE GOIÂNIA</value></values>
</answer>
</parameter>
<parameter optional="false" type="prompt" dpId="DP16">
<id>1</id>
<technicalName>Rito</technicalName>
<name>Rito</name>
<answer>
<values>
<value id="0">SUMARÍSSIMO</value>
</values>
</answer>
</parameter>
<parameter optional="true" type="prompt" dpId="DP17">
<id>2</id>
<technicalName>Data inicial:</technicalName>
<name>Data inicial:</name>
<answer>
<values>
<value>2014-12-31T22:00:00.000-02:00</value>
</values>
</answer>
</parameter>
<parameter optional="true" type="prompt" dpId="DP17">
<id>3</id>
<technicalName>Data final:</technicalName>
<name>Data final:</name>
<answer>
<values>
<value>2015-01-30T22:00:00.000-02:00</value>
</values>
</answer>
</parameter>
</parameters>
</schedule>
I'm using SAP BO 4.1 SP8 (v14.1.8.2060)
One interesting thing to say is that, if I change the mandatory prompt to optional and schedule this document with no parameter, it works.
The content of the scheduling is:
Could any one say what the problem is?
Regards
hello Hugo
You are mixing two REST Web Services:
Just change the URL to <baseUrl>/biprws/raylight/v1/documents/{docId}/schedules and this should work better.
eric
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.