ComponentOne Studio Web API Edition
SetInstanceParameters Method

The full path of the report.
The report instance id.
The report parameters.
Updates all parameter values in the report instance with specified instance id.
Syntax
'Declaration
 
<PathRouteAttribute(Template="{*reportPath}$instances/{instanceId}/parameters", 
   Name="", 
   ExcludingKeywords=, 
   Order=0)>
<HttpPutAttribute()>
Public Overridable Function SetInstanceParameters( _
   ByVal reportPath As String, _
   ByVal instanceId As String, _
   ByVal parameters As IDictionary(Of String,String()) _
) As IHttpActionResult
[PathRoute(Template="{*reportPath}$instances/{instanceId}/parameters", 
   Name="", 
   ExcludingKeywords=, 
   Order=0)]
[HttpPut()]
public virtual IHttpActionResult SetInstanceParameters( 
   string reportPath,
   string instanceId,
   IDictionary<string,string[]> parameters
)

Parameters

reportPath
The full path of the report.
instanceId
The report instance id.
parameters
The report parameters.

Return Value

An System.Web.Http.IHttpActionResult type object with content of collection of C1.Web.Api.Report.Models.Parameter type object, for the new parameters with validation.
Remarks
Use the default value if the parameter value is not specified.
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.