Web API Edition | ComponentOne
C1.Web.Api.Report Namespace / ReportController Class / GetReportParameterByName Method
The full path of the report.
The name of the parameter.

In This Topic
    GetReportParameterByName Method
    In This Topic
    Gets the parameter with specifed name in the specified report.
    Syntax
    'Declaration
     
    
    <HttpGetAttribute()>
    <PathRouteAttribute("{*reportPath}$report/parameters/{parameterName}")>
    Public Overridable Function GetReportParameterByName( _
       ByVal reportPath As String, _
       ByVal parameterName As String _
    ) As IHttpActionResult
    [HttpGet()]
    [PathRoute("{*reportPath}$report/parameters/{parameterName}")]
    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