Class ReportController
The Report Controller is a controller that allows data to be retrieved and updated within the Ayuda Platform.
Namespace: Ayuda.BMS.Splash.Areas.Pi.Controllers
Remarks
This web service can be accessed using an address similar to the following: https://[AYUDA DEPLOYMENT URL]/Juice/Pi/Report
Methods
GenerateReport(Guid, String, String)
Generates the report as specified by reportID
Declaration
public ActionResult GenerateReport(Guid reportID, string parameters, string renderMode)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | reportID | The ID of the report to be generated. |
System.String | parameters | Parameters to be passed to the report. |
System.String | renderMode | Output format of the report. Supported formats are pdf, csv, html4.0, xml, and mhtml. |
Returns
Type | Description |
---|---|
System.Web.Mvc.ActionResult | The report in the specified format. |
OnActionExecuting(ActionExecutingContext)
Declaration
protected override void OnActionExecuting(ActionExecutingContext filterContext)
Parameters
Type | Name | Description |
---|---|---|
System.Web.Mvc.ActionExecutingContext | filterContext |
Overrides
System.Web.Mvc.Controller.OnActionExecuting(System.Web.Mvc.ActionExecutingContext)