COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => SDK => Topic started by: hsheng on 07 Feb 2014 08:18:38 PM

Title: How to access batch reports via cognos webservice API?
Post by: hsheng on 07 Feb 2014 08:18:38 PM
Hi,

I've scheduled daily jobs to generate and save PDF reports to file system. The reports are distinguished by append a date string to the file name. I can also access the recent batch reports through the content manager web tool.
Now I am tasked to access these batch reports through the cognos webservice API. I can get a list of "Output" by calling the query() method in ContentManagerService_PortType; but I cannot find a direct mapping between the "Output" (subclass of BaseClass) to a PDF file on the file system.
There's also a query() method in BatchReportService_PortType. I am confused which service I should use to find a batch report generated on a certain date.
Does anybody have sample code for this?

Thanks