cancel
Showing results for 
Search instead for 
Did you mean: 

RWS 00026 Trying to schedule webi document

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

eric_festinger
Contributor
0 Kudos

hello Hugo

You are mixing two REST Web Services:

  • the BI Platform one, with the url
  • the WebI one, with the body

Just change the URL to <baseUrl>/biprws/raylight/v1/documents/{docId}/schedules and this should work better.

eric

Former Member
0 Kudos

Precisely, Eric. Tanks a lot for your promptly answer.

Answers (0)