XML request body for object-based queries

Content Platform Tenant Management Help

Version
9.7.x
File Size
4269 KB
Audience
anonymous
Part Number
MK-95HCPH002-19

The XML request body for an operation-based query must contain a top-level queryRequest entry and, except when requesting all available information, an operation entry. All other entries are optional.

The XML request body has the format shown below. Entries at each hierarchical level can be specified in any order:

<queryRequest>
   <operation>
     <count>number-of-results</count>
    <lastResult>
       <urlName>object-url</urlName>
       <changeTimeMilliseconds>change-time-in-milliseconds.index
       </changeTimeMilliseconds>
       <version>version-id</version>
    </lastResult>
    <objectProperties>comma-separated-list-of-properties
    </objectProperties>
    <systemMetadata>
       <changeTime>
         <start>start-time-in-milliseconds</start>
         <end>end-time-in-milliseconds</end>
       </changeTime>
       <directories>
         <directory>directory-path</directory>
         ...
       </directories>
       <indexable>(true|false)</indexable>
       <namespaces>
         <namespace>namespace-name.tenant-name</namespace>
         ...
       </namespaces>
       <replicationCollision>(true|false)</replicationCollision>
       <transactions>
         <transaction>operation-type</transaction>
         ...
       </transactions>
    </systemMetadata>
    <verbose>(true|false)</verbose>
  </operation>
</queryRequest>

The XML body for an operation-based query that requests all available operation records contains only this line:

<queryRequest/>