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

In This Topic
    GetInstanceParameterByName Method
    In This Topic
    Gets the parameter with specified name in the report instance with specified instance id.
    Syntax
    'Declaration
     
    
    <HttpGetAttribute()>
    <PathRouteAttribute("{*reportPath}$instances/{instanceId}/parameters/{parameterName}")>
    Public Overridable Function GetInstanceParameterByName( _
       ByVal reportPath As String, _
       ByVal instanceId As String, _
       ByVal parameterName As String _
    ) As IHttpActionResult
    [HttpGet()]
    [PathRoute("{*reportPath}$instances/{instanceId}/parameters/{parameterName}")]
    public virtual IHttpActionResult GetInstanceParameterByName( 
       string reportPath,
       string instanceId,
       string parameterName
    )

    Parameters

    reportPath
    The full path of the report.
    instanceId
    The report instance id.
    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