ComponentOne Web API Edition
GetReportParameterByName Method

C1.Web.Api.Report Namespace > ReportController Class : GetReportParameterByName Method
The full path of the report.
The name of the parameter.
Gets the parameter with specifed name in the specified report.
Syntax
'Declaration
 
<HttpGetAttribute()>
<PathRouteAttribute(Template="{*reportPath}$report/parameters/{parameterName}", 
   Name="", 
   ExcludingKeywords=, 
   Order=0)>
Public Overridable Function GetReportParameterByName( _
   ByVal reportPath As String, _
   ByVal parameterName As String _
) As IHttpActionResult
[HttpGet()]
[PathRoute(Template="{*reportPath}$report/parameters/{parameterName}", 
   Name="", 
   ExcludingKeywords=, 
   Order=0)]
public virtual IHttpActionResult GetReportParameterByName( 
   string reportPath,
   string parameterName
)

Parameters

reportPath
The full path of the report.
parameterName
The name of the parameter.

Return Value

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

Reference

ReportController Class
ReportController Members