[]
        
(Showing Draft Content)

C1.Web.Api.Report.ReportController.GetInstanceSearchResults

GetInstanceSearchResults Method

GetInstanceSearchResults(string, string, string, bool, bool, int, SearchScope)

Gets the search result in the report instance with specified instance id.

Declaration
public virtual IHttpActionResult GetInstanceSearchResults(string reportPath, string instanceId, string text, bool matchCase = false, bool wholeWord = false, int startPageIndex = 0, SearchScope scope = SearchScope.WholeDocument)
Parameters
Type Name Description
string reportPath

The full path of the report.

string instanceId

The report instance id.

string text

The text used to be searched.

bool matchCase

A boolean value indicates if search the value with case sensitive.

bool wholeWord

A boolean value indicates if search the value with matching a whole word.

int startPageIndex

0-based index of the first page to search.

SearchScope scope

The search scope.

Returns
Type Description
IHttpActionResult

An System.Web.Http.IHttpActionResult type object with content of collection of SearchResult type object.

Remarks

Please ensure the report instance is rendered.