[]
        
(Showing Draft Content)

C1.Web.Api.Report.ReportController.ExportInstance

ExportInstance Method

ExportInstance(string, string, IDictionary<string, string>)

Exports the report instance with specified instance id into report filter with options.

Declaration
protected virtual IHttpActionResult ExportInstance(string reportPath, string instanceId, IDictionary<string, string> exportOptions)
Protected Overridable Function ExportInstance(reportPath As String, instanceId As String, exportOptions As IDictionary(Of String, String)) As IHttpActionResult
Parameters
Type Name Description
string reportPath

The full path of the report.

string instanceId

The report instance id.

IDictionary<string, string> exportOptions

The export options.

Returns
Type Description
IHttpActionResult

An System.Web.Http.IHttpActionResult type object with content of exported file stream.

Remarks

Please ensure the report instance is rendered.