AnsweredAssumed Answered

REST API

Question asked by Nicole Erbe on Sep 14, 2018

Hi

I am currently Investigation the funtionalities of the PDI REST API. I am trying to schedule some Reports in Pentaho and I am struggling  with the Syntax of the json or XML I have to Hand over to the rest call. My current attempt:

   

<complexJobTrigger>
<uiPassParam>DAILY</uiPassParam>
<dayOfWeekRecurrences><recurrenceList><values>1</values><values>2</values><values>3</values><values>4</values><values>5</values></recurrenceList></dayOfWeekRecurrences>
<dayOfMonthRecurrences/>
<monthlyRecurrences/>
<hourlyRecurrences><recurrenceList><values>10</values></recurrenceList></hourlyRecurrences>
<minuteRecurrences><recurrenceList><values>12</values></recurrenceList></minuteRecurrences>
<startTime>2018-08-31T11:46:00.000-02:00</startTime>
<endTime/>
</complexJobTrigger>

 

The result is a schedule created for the Report(s) which are supposed to run but the repeat-tab is simply empty. Does anybody have an advice how to correctly set schedules e.g. for monthly/daily?

 

Many thanks in advance!

Outcomes