Execute IRC report

Executes the named report using provided parameters and returns the generated report along with an output URL to access the report from IRC Application Server. The generated report is a byte array.

Byte array can be written to a file or stored in database with the BLOB datatype.

Syntax:

Public Byte[]ExecuteReport(AuthInfo objAuthInfo, string ReportObjectID, 
BizRightsPublishingFramework.ReportParameters objReportParameter, 
BizRightsPublishingFramework.ReportFormat, out string strOutputURL); 

Parameters:

Parameter Description
Auth Object Authentication Object with IRC User Name and Password provided to the application consuming the web service.
ReportObjectID The report object ID for which the report should be generated.
ReportParameter The report parameter object with the parameters applied for the report to generate.
ReportFormat

The supported report export formats are:

  • PDF
  • EXCEL
  • CSV
strOutPutURL The URL of the report which user can embed in the application and using this URL user can access the report.

Example:

Example

BizRightsPublishingFramework.PublishingWebServices objMyImplementation = new 
BizRightsPublishingFramework.PublishingWebServices(); 
BizRightsPublishingFramework.ReportParameters objReportParameter = new 
BizRightsPublishingFramework.ReportParameters(); 
objReportParameter.AnalysisID = 1; 
objReportParameter.ApplicationID = 2; 
objReportParameter.RuleID = 10; 
// Execute Report 
string strReportURL; 
Byte ReportData[] = objMyImplementation.ExecuteReport(objAuthInfo, stringReportID, objReportParameter, 
BizRightsPublishingFramework.ReportFormat.PDF, strReportURL);