Web Services Developer's Guide → Web Services API Reference → SBM Application Web Services → Common Types → QueryRange
The QueryRange type allows you to limit the number of records returned in a query. The QueryRange type parameters are listed below.
|startIndex||integer||This is the first record where the query should start.|
|fetchSize||integer||The fetchSize number is used to limit the number records that should be returned from the entire set of records in the totalCount.|
|totalCount||integer||The number of all the records in the query.|
You can limit the number of reports returned in GetReports using QueryRange. For example, if GetReports returns 20 items without a QueryRange, you can set startIndex to 5 and fetchSize to 7 to return reports 5 through 12 in the list of available reports. You can also apply QueryRange in the RunReport call to limit the number of records returned via the fetchSize.
The following XML snippet shows QueryRange as seen in a typical call.
<urn:queryRange> <urn:startIndex>5</urn:startIndex> <urn:fetchSize>7</urn:fetchSize> <urn:totalCount></urn:totalCount> </urn:queryRange>
Copyright © 2007–2018 Serena Software, Inc., a Micro Focus company. All rights reserved.