ComponentOne Studio Web API Edition
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
 
<HttpPutAttribute()>
<PathRouteAttribute(Template="{*reportPath}$instances/{instanceId}/parameters/{parameterName}", 
   Name="", 
   ExcludingKeywords=, 
   Order=0)>
Public Overridable Function SetInstanceParameterByName( _
   ByVal reportPath As String, _
   ByVal instanceId As String, _
   ByVal parameterName As String, _
   ByVal value() As String _
) As IHttpActionResult
[HttpPut()]
[PathRoute(Template="{*reportPath}$instances/{instanceId}/parameters/{parameterName}", 
   Name="", 
   ExcludingKeywords=, 
   Order=0)]
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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ReportController Class
ReportController Members

 

 


Copyright © GrapeCity, inc. All rights reserved.