通过 Web Service 调用Pentaho BI 的API,pentahobi


Pentaho BI 支撑外部通过Web Service进行访问。访问方法通过post和接收response来与BI的web service进行交互实现。例如创建一个新的调度任务post书写如下:

01    <jobScheduleRequest>
02    <jobName>JobName</jobName>
03    <simpleJobTrigger>
04    <uiPassParam>MINUTES</uiPassParam>
05    <repeatInterval>1800</repeatInterval>
06    <repeatCount>-1</repeatCount>
07    <startTime>2014-08-14T11:46:00.000-04:00</startTime>
08    <endTime />
09    </simpleJobTrigger>
10    <inputFile>/public/Steel Wheels/Top Customers (report).prpt</inputFile>
11    <outputFile>/public/output</outputFile>
12    <jobParameters>
13    <name>ParameterName</name>
14    <type>string</type>
15    <stringValue>false</stringValue>
16    </jobParameters>
17    </jobScheduleRequest>


返回为

element:     (custom)
media types:     text/plain


具体的每个API的post书写方法请参阅http://help.pentaho.com/Documentation/5.2/0R0/070/010/0C0/0H0

相关内容