Web API Core | ComponentOne
C1.Web.Api.Report Namespace / ReportController Class / SetInstanceParameterByName Method
The full path of the report.
The report instance id.
The name of the parameter.
The value of the parameter.

In This Topic
    SetInstanceParameterByName Method
    In This Topic
    Updates the value of parameter with specified name in the report instance with specified instance if.
    Syntax
    'Declaration
     
    
    <HttpPutAttribute()>
    <PathRouteAttribute("{*reportPath}$instances/{instanceId}/parameters/{parameterName}")>
    Public Overridable Function SetInstanceParameterByName( _
       ByVal reportPath As String, _
       ByVal instanceId As String, _
       ByVal parameterName As String, _
       ByVal value() As String _
    ) As IActionResult
    [HttpPut()]
    [PathRoute("{*reportPath}$instances/{instanceId}/parameters/{parameterName}")]
    public virtual IActionResult 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 Microsoft.AspNetCore.Mvc.IActionResult type object with content of C1.Web.Api.Report.Models.Parameter type object, for the new parameter with validation.
    See Also