QueryRequest

An object that contains the request body for a query.

Properties

Name Data Type Description
ClientIDs Array of ClientID objects Specifies accounts and sub-accounts, including Enterprise 2.0, On-Your-Behalf, and Lock & Publish accounts, from which to retrieve data.
ContinueRequest String Represents the RequestID that identifies a previous Retrieve requestto continue processing (returns the next available batch of data for that request).
PartnerProperties Array of APIProperty objects A collection of metadata supplied by the client and stored by the system. These properties are accessible only via API.
Query Query object Specifies an SQL query to be stored in a Query definition. You can find nore information about writing SQL queries for a query activity in the Query Activity document.
QueryAllAccounts Boolean Queries all accounts, including parent and all children, regarding an event (ignores specified ClientIDs).
RespondTo Array of AsyncResponse objects Not used.
RetrieveAllSinceLastBatch Boolean Retrieve all data since last retrieve context. Works with added and modified data. You must include the same properties and filters as the previous request.