runNamedMetricQueryContinue

Retrieves the next batch of records from a metric query where the result size is larger than the maximumResultCount specified in the original call.

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 runNamedMetricQuery. For example, if the initial call to runNamedMetricQuery has a start number of 1 and maximumResultCount has a start number of 10, the next call that uses runNamedMetricQuery returns 10 records that start from record 11.

Returns

A MetricQueryResult object is returned.

Errors

AccessException
The user does not have access to the business object.

Sample request

<soap:Envelope
           xmlns:soap="http://www.xxx/soap-envelope/"
           xmlns:ws="http://ws.tririga.com" xmlns:dto="http://dto.ws.tririga.com">
   <soap:Header/>
   <soap:Body>
      <ws:runNamedMetricQueryContinue>
         <!--Optional:-->
         <ws:continuationToken>
            <dto:tokenString>-67cb25bb:13cfe394cb5:-7fc9</dto:tokenString>
         </ws:continuationToken>
      </ws:runNamedMetricQueryContinue>
   </soap:Body>
</soap:Envelope

Sample response

<soap:Envelope xmlns:soap="http://www.xxx/soap-envelope/">
   <soap:Body>
      <ns1:runNamedMetricQueryContinueResponse xmlns:ns1="http://ws.tririga.com">
         <ns1:out>
            <ns2:continuationToken xsi:nil="true" xmlns:ns2="http://dto.ws.tririga.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
            <ns2:totalResults xmlns:ns2="http://dto.ws.tririga.com">2</ns2:totalResults>
            <ns2:metricQueryResponseHelpers xmlns:ns2="http://dto.ws.tririga.com">
               <ns2:MetricQueryResponseHelper>
                  <ns2:boId>10002100</ns2:boId>
                  <ns2:recordId>11991581</ns2:recordId>
                  <ns2:metricQueryResponseColumns>
                     <ns2:MetricQueryResponseColumn>
                        <ns2:displayValue>55</ns2:displayValue>
                        <ns2:index>0</ns2:index>
                        <ns2:label>Parking Spaces (Open)</ns2:label>
                        <ns2:name>triParkingOpenNU</ns2:name>
                        <ns2:section xsi:nil="true" xmlns:xsi="http://www.xxx/XMLSchema-instance"/>
                        <ns2:uom xsi:nil="true" xmlns:xsi="http://www.xxx/XMLSchema-instance"/>
                        <ns2:value>55.00</ns2:value>
                        <ns2:thresholdRangeColor>#96A634</ns2:thresholdRangeColor>
                        <ns2:thresholdRangeIconUrl>/images/threshold_High.gif</ns2:thresholdRangeIconUrl>
                     </ns2:MetricQueryResponseColumn>
                     <ns2:MetricQueryResponseColumn>
                        <ns2:displayValue>50</ns2:displayValue>
                        <ns2:index>1</ns2:index>
                        <ns2:label>Parking Spaces (Covered)</ns2:label>
                        <ns2:name>triParkingCoveredNU</ns2:name>
                        <ns2:section xsi:nil="true" xmlns:xsi="http://www. xxx/XMLSchema-instance"/>
                        <ns2:uom xsi:nil="true" xmlns:xsi="http://www. xxx/XMLSchema-instance"/>
                        <ns2:value>50.00</ns2:value>
                        <ns2:thresholdRangeColor>#96A634</ns2:thresholdRangeColor>
                        <ns2:thresholdRangeIconUrl>/images/threshold_High.gif</ns2:thresholdRangeIconUrl>
                     </ns2:MetricQueryResponseColumn>
                  </ns2:metricQueryResponseColumns>
                  <ns2:primaryGroupByDisplayValue>TMF Building 2</ns2:primaryGroupByDisplayValue>
                  <ns2:primaryGroupByLabel>Location</ns2:primaryGroupByLabel>
                  <ns2:primaryGroupByName>triDimLocationTX</ns2:primaryGroupByName>
                  <ns2:primaryGroupByValue>TMF Building 2</ns2:primaryGroupByValue>
                  <ns2:secondaryGroupByDisplayValue xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
                  <ns2:secondaryGroupByLabel xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
                  <ns2:secondaryGroupByName xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
                  <ns2:secondaryGroupByValue xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
               </ns2:MetricQueryResponseHelper>
            </ns2:metricQueryResponseHelpers>
         </ns1:out>
      </ns1:runNamedMetricQueryContinueResponse>
   </soap:Body>
</soap:Envelope>