Web API Core | ComponentOne
C1.Web.Api.Report Namespace / ReportController Class / CreateInstance Method
The full path of the report.
The optional parameters.
The optional page settings.

In This Topic
    CreateInstance Method
    In This Topic
    Creates new report instance from the specified report.
    Syntax
    'Declaration
     
    
    <HttpPostAttribute()>
    <PathRouteAttribute("{*reportPath}$instances")>
    Public Overridable Function CreateInstance( _
       ByVal reportPath As String, _
       Optional ByVal parameters As IDictionary(Of String,String()), _
       Optional ByVal pageSettings As PageSettings _
    ) As IActionResult
    [HttpPost()]
    [PathRoute("{*reportPath}$instances")]
    public virtual IActionResult CreateInstance( 
       string reportPath,
       IDictionary<string,string[]> parameters,
       PageSettings pageSettings
    )

    Parameters

    reportPath
    The full path of the report.
    parameters
    The optional parameters.
    pageSettings
    The optional page settings.

    Return Value

    An Microsoft.AspNetCore.Mvc.IActionResult type object with content of C1.Web.Api.Report.Models.ReportExecutionInfo type object, for the new created report instance.
    See Also