I just started using REST API for executing a web intelligence document with prompts and recieved the following error:
An internal error occurred while calling 'answerPromptsEx' API. (Error: ERR_WIS_30270)
URL:
http://wdwbidev01vm:6405/biprws/raylight/v1/documents/34978/schedules
Headers:
Accept:application/xml
X-SAP-LogonToken:"WDWBIDEV01VM.twia.org:6400@{3&2=44766,U3&2v=WDWBIDEV01VM.twia.org:6400,UP&66=60,U3&68=secEnterprise:pstone,UP&S9=8606,U3&qe=100,U3&vz=h1mTvl_ZAyY8viCiEU6VQ3Mxu9NQy8kPqmMdTLC.Bm8,UP}"
Content-Type:application/xml
Resquest:
<schedule>
<name>twoprompts</name>
<format type="webi"/>
<destination><inbox/></destination>
<parameters>
<parameter dpId="DP2" type="prompt" optional="false">
<id>0</id>
<technicalName>pmTWIA</technicalName>
<name>TWIA</name>
<answer type="Text" constrained="false">
<values>
<value>16332</value>
</values>
</answer>
</parameter>
<parameter dpId="DP2" type="prompt" optional="false">
<id>1</id>
<technicalName>psStart</technicalName>
<name>Start</name>
<answer type="Date" constrained="false">
<info cardinality="Single">
<values>
<value>10/1/2013</value>
</values>
</info>
</answer>
</parameter>
<parameter dpId="DP2" type="prompt" optional="false">
<id>2</id>
<technicalName>psEnd</technicalName>
<name>End</name>
<answer type="Date" constrained="false">
<info cardinality="Single">
<values>
<value>1/31/2014</value>
</values>
</info>
</answer>
</parameter>
</parameters>
</schedule>
Response:
<success>
< message > The resource of type 'Schedule' with identifier '44778' has been successfully created. </ message ><id>
44778 </ id ></success>
Error:
Looking at the scheduled instance I see the following error:
An internal error occurred while calling 'answerPromptsEx' API. (Error: ERR_WIS_30270)
Heres the version of SAP i am running:
SAP BusinessObjects Enterprise XI 4.0
I can manually run this through the WEB UI front end with no problems.
When i query to see what the doc params are i get this:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<parameters>
< parameter dpId = "DP2" type = "prompt" optional = "false" > < id > 0 </ id ><technicalName>
pmTWIA </ technicalName ><name>
TWIA </ name ><answer type="Text" constrained="false">
< info cardinality = "Multiple" /> </ answer > </ parameter ><parameter dpId="DP2" type="prompt" optional="false">
< id > 1 </ id ><technicalName>
psStart </ technicalName ><name>
Start </ name ><answer type="Date" constrained="false">
< info cardinality = "Single" /> </ answer > </ parameter ><parameter dpId="DP2" type="prompt" optional="false">
< id > 2 </ id ><technicalName>
psEnd </ technicalName ><name>
End </ name ><answer type="Date" constrained="false">
< info cardinality = "Single" /> </ answer > </ parameter > </ parameters >