Web API Core | ComponentOne
C1.Web.Api.Report Namespace / ReportController Class / ExportReport_Post Method
The full path of the report.
The export options.
The optional exported file name.
The optional parameters for rendering.
The optional page settings for rendering.

In This Topic
    ExportReport_Post Method
    In This Topic
    Exports the specified report to the specified export filter with options and the specified page settings or/and parameters.
    Syntax
    'Declaration
     
    
    <HttpPostAttribute()>
    <PathRouteAttribute("{*reportPath}$report/export")>
    Public Overridable Function ExportReport_Post( _
       ByVal reportPath As String, _
       ByVal exportOptions As IDictionary(Of String,String), _
       Optional ByVal exportFileName As String, _
       Optional ByVal parameters As IDictionary(Of String,String()), _
       Optional ByVal pageSettings As PageSettings _
    ) As IActionResult

    Parameters

    reportPath
    The full path of the report.
    exportOptions
    The export options.
    exportFileName
    The optional exported file name.
    parameters
    The optional parameters for rendering.
    pageSettings
    The optional page settings for rendering.

    Return Value

    An Microsoft.AspNetCore.Mvc.IActionResult type object with content of exported file stream.
    See Also