scheduleReport() Method
In In ScheduleService, use the scheduleReport() method to schedule the reports that are in the catalog. You can submit and run the reports immediately or create a job to schedule the reports to run. When you schedule reports you can also deliver reports to any of the delivery destinations that are set up in your instance.
The method returns a JobID of the scheduled job.
Signature
String scheduleReport(ScheduleRequest scheduleRequest, String userID, String password);
Parameters for scheduleReport() Method
Parameter | Description |
---|---|
ScheduleRequest scheduleRequest |
Specifies a ScheduleRequest object for the report that you want to run. See ScheduleRequest. |
String userID |
Specifies the user name. |
String password |
Specifies the password for the user name. |