ComponentOne Web API Edition
ExportInstance_Post Method

C1.Web.Api.Report Namespace > ReportController Class : ExportInstance_Post Method
The full path of the report.
The report instance id.
The export options.
Exports the report instance with specified instance id into report filter with options.
Syntax
'Declaration
 
<HttpPostAttribute()>
<PathRouteAttribute(Template="{*reportPath}$instances/{instanceId}/export", 
   Name="", 
   ExcludingKeywords=, 
   Order=0)>
Public Overridable Function ExportInstance_Post( _
   ByVal reportPath As String, _
   ByVal instanceId As String, _
   ByVal options As IDictionary(Of String,String) _
) As IHttpActionResult
[HttpPost()]
[PathRoute(Template="{*reportPath}$instances/{instanceId}/export", 
   Name="", 
   ExcludingKeywords=, 
   Order=0)]
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

Reference

ReportController Class
ReportController Members