ComponentOne Web API Edition
GetInstanceParameterByName Method

C1.Web.Api.Report Namespace > ReportController Class : GetInstanceParameterByName Method
The full path of the report.
The report instance id.
The name of the parameter.
Gets the parameter with specified name in the report instance with specified instance id.
Syntax
'Declaration
 
<HttpGetAttribute()>
<PathRouteAttribute(Template="{*reportPath}$instances/{instanceId}/parameters/{parameterName}", 
   Name="", 
   ExcludingKeywords=, 
   Order=0)>
Public Overridable Function GetInstanceParameterByName( _
   ByVal reportPath As String, _
   ByVal instanceId As String, _
   ByVal parameterName As String _
) As IHttpActionResult
[HttpGet()]
[PathRoute(Template="{*reportPath}$instances/{instanceId}/parameters/{parameterName}", 
   Name="", 
   ExcludingKeywords=, 
   Order=0)]
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

Reference

ReportController Class
ReportController Members