Focal Point
[Solved]Create schedule by RESTful

This topic can be found at:
http://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1327080386

July 12, 2016, 05:39 AM
Rao D
[Solved]Create schedule by RESTful
Hi All,

I am trying to create a schedule using RESTful services. From the IBI doc I found the below

"http://localhost:8080/ibi_apps/rs?IBIRS_action=TEST" which gives a testing interface and in the under "put" When I pass the values for IBIRS_path and IBIRS_object I see the schedule getting created. Looks like in that TEST page there is hidden code that generates the schedule ID randomly. If I have to provide a custom screen to create a schedule on a HTML page I am confused on how to get the scheduleID logic.

Any ideas/direction greatly appreciated! I am using WF8105.



Thanks,
Rao

This message has been edited. Last edited by: Rao D,
July 14, 2016, 01:11 PM
dhagen
The schedule ID is generated by Report Caster. That ID should be part of the response XML when your create schedule is successful. You cannot influence what the final schedule ID will be. You should be able to use an XPath expression to retrieve the actual value.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
August 02, 2016, 11:05 AM
Tamra
Rao D,

Within the WebFOCUS RESTful Web Services documentation you will find ReportCaster RESTful Web Service Requests information.

Page 196 of the PDF document which you will find at the end of the list of links.

From the information provided to me the only tricky part is that you will need to run the logon service first, then ensure all subsequent requests had a header from the logon.

Keep us informed as to whether this helps you out and mark the subject line accordingly Tag your topic with keywords

Thank for you for participating in Focal Point.

Tamra Colangelo
Focal Point Moderator
Information Builders


WebFOCUS 8x - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5
August 06, 2016, 12:10 AM
Rao D
Thanks Tamra,

I will be using the logon service, also I read that we pass the jsession id for authentication.

Thanks,
Rao.


WebFOCUS - ver8201
[ReportingServers: Windows 64bit;
Client: tomcat and IIS on windows 2012
AppStudio