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

In This Topic
    UpdateInstanceParameters Method
    In This Topic
    Updates specified parameter values in the report instance with specified instance id.
    Syntax
    'Declaration
     
    
    <HttpPatchAttribute()>
    <PathRouteAttribute("{*reportPath}$instances/{instanceId}/parameters")>
    Public Overridable Function UpdateInstanceParameters( _
       ByVal reportPath As String, _
       ByVal instanceId As String, _
       ByVal parameters As IDictionary(Of String,String()) _
    ) As IActionResult
    [HttpPatch()]
    [PathRoute("{*reportPath}$instances/{instanceId}/parameters")]
    public virtual IActionResult UpdateInstanceParameters( 
       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
    Keep the current value if the parameter value is not specified.
    See Also