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

In This Topic
    SetInstanceParameters Method
    In This Topic
    Updates all parameter values in the report instance with specified instance id.
    Syntax
    'Declaration
     
    
    <HttpPutAttribute()>
    <PathRouteAttribute("{*reportPath}$instances/{instanceId}/parameters")>
    Public Overridable Function SetInstanceParameters( _
       ByVal reportPath As String, _
       ByVal instanceId As String, _
       ByVal parameters As IDictionary(Of String,String()) _
    ) As IHttpActionResult
    [HttpPut()]
    [PathRoute("{*reportPath}$instances/{instanceId}/parameters")]
    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.
    See Also