ComponentOne Studio Web API Edition
CreateInstance Method

The full path of the report.
The optional parameters.
The optional page settings.
Creates new report instance from the specified report.
Syntax
'Declaration
 
<HttpPostAttribute()>
<PathRouteAttribute(Template="{*reportPath}$instances", 
   Name="", 
   ExcludingKeywords=, 
   Order=0)>
Public Overridable Function CreateInstance( _
   ByVal reportPath As String, _
   Optional ByVal parameters As IDictionary(Of String,String()), _
   Optional ByVal pageSettings As PageSettings _
) As IHttpActionResult
[HttpPost()]
[PathRoute(Template="{*reportPath}$instances", 
   Name="", 
   ExcludingKeywords=, 
   Order=0)]
public virtual IHttpActionResult 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 System.Web.Http.IHttpActionResult type object with content of C1.Web.Api.Report.Models.ReportExecutionInfo type object, for the new created report instance.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ReportController Class
ReportController Members

 

 


Copyright © GrapeCity, inc. All rights reserved.