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

In This Topic
    GetInstanceById Method
    In This Topic
    Gets the info of the report instance with the specified instance id.
    Syntax
    'Declaration
     
    
    <HttpGetAttribute()>
    <PathRouteAttribute("{*reportPath}$instances/{instanceId}")>
    Public Overridable Function GetInstanceById( _
       ByVal reportPath As String, _
       ByVal instanceId As String _
    ) As IHttpActionResult
    [HttpGet()]
    [PathRoute("{*reportPath}$instances/{instanceId}")]
    public virtual IHttpActionResult GetInstanceById( 
       string reportPath,
       string instanceId
    )

    Parameters

    reportPath
    The full path of the report.
    instanceId
    The id of the instance.

    Return Value

    An System.Web.Http.IHttpActionResult type object with content of C1.Web.Api.Report.Models.ReportExecutionInfo type object.
    See Also