ComponentOne Web API Edition
SetInstanceParameterByName Method

C1.Web.Api.Report Namespace > ReportController Class : SetInstanceParameterByName Method
The full path of the report.
The report instance id.
The name of the parameter.
The value of the parameter.
Updates the value of parameter with specified name in the report instance with specified instance if.
Syntax
'Declaration
 
<PathRouteAttribute(Template="{*reportPath}$instances/{instanceId}/parameters/{parameterName}", 
   Name="", 
   ExcludingKeywords=, 
   Order=0)>
<HttpPutAttribute()>
Public Overridable Function SetInstanceParameterByName( _
   ByVal reportPath As String, _
   ByVal instanceId As String, _
   ByVal parameterName As String, _
   ByVal value() As String _
) As IHttpActionResult
[PathRoute(Template="{*reportPath}$instances/{instanceId}/parameters/{parameterName}", 
   Name="", 
   ExcludingKeywords=, 
   Order=0)]
[HttpPut()]
public virtual IHttpActionResult SetInstanceParameterByName( 
   string reportPath,
   string instanceId,
   string parameterName,
   string[] value
)

Parameters

reportPath
The full path of the report.
instanceId
The report instance id.
parameterName
The name of the parameter.
value
The value of the parameter.

Return Value

An System.Web.Http.IHttpActionResult type object with content of C1.Web.Api.Report.Models.Parameter type object, for the new parameter with validation.
See Also

Reference

ReportController Class
ReportController Members