ComponentOne Web API Edition
GetReportSupportedFormatByName Method

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

Parameters

reportPath
The full path of the report.
formatName
The name of the export format.

Return Value

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

Reference

ReportController Class
ReportController Members