How to set the parameter in Web API Controller

To set a report parameter in the Bold Reports® Web API controller, assign the parameter default value in the OnReportLoaded method, as in the following code:

[NonAction]
public void OnReportLoaded(ReportViewerOptions reportOption)
{
    List<BoldReports.Web.ReportParameter> userParameters = new List<BoldReports.Web.ReportParameter>();
    userParameters.Add(new BoldReports.Web.ReportParameter()
    {
        Name = "SalesOrderNumber",
        Values = new List<string>() { "SO50756" }
    });
    reportOption.ReportModel.Parameters = userParameters;
}

To set the parameter at the client side, see the Report Viewer guide for your platform.