runDynamicQueryContinue
Continue to run a query that uses a set of parameters. The query runs each time runDynamicQueryContinue is run. The results might not be as expected if the data is modified between executions of runDynamicQuery and runDynamicQueryContinue or runDynamicQueryContinue and runDynamicQueryContinue.
Parameters
continuationToken is a continuation token for the next set of records that are included in the query result. It returns the same quantity of records from the previous call to runDynamicQuery. For example, if the initial call to runDynamicQuery has a start number of 1 and maximumResultCount has a start number of 10, the next call that uses runDynamicQueryContinue returns 10 records that start from record 11.
Returns
A QueryResult object that contains the resulting records, a total count of the results, a new continuation token, if any, is returned.
Errors
- InvalidContinuationTokenException
- The continuation token is not recognized.
- AccessException
- The user does not have access to the record.
- java.lang.Exception
- A system error occurred when the request was being processed.
Sample request
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.tririga.com" xmlns:dto="http://dto.ws.tririga.com">
<soapenv:Body>
<ws:runDynamicQueryContinue>
<ws:continuationToken>
<dto:tokenString>80240783D81B64C65DB4A49620432065-1163463554765-0.2994752033211511</dto:tokenString>
</ws:continuationToken>
</ws:runDynamicQueryContinue>
</soapenv:Body>
</soapenv:Envelope>
Sample response
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Body>
<runDynamicQueryContinueResponse xmlns="http://ws.tririga.com">
<out>
<continuationToken xmlns="http://dto.ws.tririga.com">
<tokenString>E0C2BE7A7900E5AD37CA776BB5FF588B-1163463693640-0.2012609069705198</tokenString>
</continuationToken>
<queryResponseHelpers xmlns="http://dto.ws.tririga.com">
<QueryResponseHelper>
<assocBoId xsi:nil="true"/>
<assocId xsi:nil="true"/>
<boId>106402</boId>
<queryResponseColumns>
<QueryResponseColumn>
<displayValue>api1test</displayValue>
<index>0</index>
<label>First Name</label>
<name>triFirstNameTX</name>
<section>Detail</section>
<uom/>
<value>api1test</value>
</QueryResponseColumn>
</queryResponseColumns>
<recordId>2538355</recordId>
</QueryResponseHelper>
<QueryResponseHelper>
<assocBoId xsi:nil="true"/>
<assocId xsi:nil="true"/>
<boId>106402</boId>
<queryResponseColumns>
<QueryResponseColumn>
<displayValue>Rodrigo</displayValue>
<index>0</index>
<label>First Name</label>
<name>triFirstNameTX</name>
<section>Detail</section>
<uom/>
<value>John</value>
</QueryResponseColumn>
</queryResponseColumns>
<recordId>2528575</recordId>
</QueryResponseHelper>
</queryResponseHelpers>
<totalResults xmlns="http://dto.ws.tririga.com">450</totalResults>
</out>
</runDynamicQueryContinueResponse>
</soap:Body>
</soap:Envelope>