Web API Edition | ComponentOne
C1.Web.Api.Report Namespace / ReportController Class / ExportInstance_Post Method
The full path of the report.
The report instance id.
The export options.

In This Topic
    ExportInstance_Post Method
    In This Topic
    Exports the report instance with specified instance id into report filter with options.
    Syntax
    'Declaration
     
    
    <HttpPostAttribute()>
    <PathRouteAttribute("{*reportPath}$instances/{instanceId}/export")>
    Public Overridable Function ExportInstance_Post( _
       ByVal reportPath As String, _
       ByVal instanceId As String, _
       ByVal options As IDictionary(Of String,String) _
    ) As IHttpActionResult
    [HttpPost()]
    [PathRoute("{*reportPath}$instances/{instanceId}/export")]
    public virtual IHttpActionResult ExportInstance_Post( 
       string reportPath,
       string instanceId,
       IDictionary<string,string> options
    )

    Parameters

    reportPath
    The full path of the report.
    instanceId
    The report instance id.
    options
    The export options.

    Return Value

    An System.Web.Http.IHttpActionResult type object with content of exported file stream.
    Remarks
    Please ensure the report instance is rendered.
    See Also