Web API Core | 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 IActionResult
    [HttpPut()]
    [PathRoute("{*reportPath}$instances/{instanceId}/parameters")]
    public virtual IActionResult 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 Microsoft.AspNetCore.Mvc.IActionResult 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