ComponentOne Web API Edition
GetInstanceById Method

C1.Web.Api.Report Namespace > ReportController Class : GetInstanceById Method
The full path of the report.
The id of the instance.
Gets the info of the report instance with the specified instance id.
Syntax
'Declaration
 
<PathRouteAttribute(Template="{*reportPath}$instances/{instanceId}", 
   Name="", 
   ExcludingKeywords=, 
   Order=0)>
<HttpGetAttribute()>
Public Overridable Function GetInstanceById( _
   ByVal reportPath As String, _
   ByVal instanceId As String _
) As IHttpActionResult
[PathRoute(Template="{*reportPath}$instances/{instanceId}", 
   Name="", 
   ExcludingKeywords=, 
   Order=0)]
[HttpGet()]
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

Reference

ReportController Class
ReportController Members