ComponentOne Web API Edition
GetInstanceSupportedFormats Method

C1.Web.Api.Report Namespace > ReportController Class : GetInstanceSupportedFormats Method
The full path of the report.
The report instance id.
Gets the export formats supported by the report instance with specified instance id.
Syntax
'Declaration
 
<HttpGetAttribute()>
<PathRouteAttribute(Template="{*reportPath}$instances/{instanceId}/supportedformats", 
   Name="", 
   ExcludingKeywords=, 
   Order=0)>
Public Overridable Function GetInstanceSupportedFormats( _
   ByVal reportPath As String, _
   ByVal instanceId As String _
) As IHttpActionResult
[HttpGet()]
[PathRoute(Template="{*reportPath}$instances/{instanceId}/supportedformats", 
   Name="", 
   ExcludingKeywords=, 
   Order=0)]
public virtual IHttpActionResult GetInstanceSupportedFormats( 
   string reportPath,
   string instanceId
)

Parameters

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

Return Value

An System.Web.Http.IHttpActionResult type object with content of collection of C1.Web.Api.Document.Models.ExportDescription type object.
See Also

Reference

ReportController Class
ReportController Members