HCP System Management Help


paged queries with operation-based requests

To use a paged query with operation-based query requests:

Optionally, specify a count entry in each request body. If you omit this entry, HCP returns ten thousand operation records per request.

For each request after the first, specify a lastResult entry containing the values of the urlName, changeTimeMilliseconds, and version properties in the last record returned in response to the previous request.

After each request, check the value of the code property of the status entry to determine whether the result set contains the last object that meets the criteria:

oIf the value is INCOMPLETE, more results remain. Request another page.

oIf the value is COMPLETE, the result set includes the last object that meets the query criteria.

For an example of using a paged operation-based query, see Using a paged query to retrieve a large number of records example.

© 2017 Hitachi Vantara Corporation. All rights reserved.