QueryRequest

An object that contains the request body for a query.

NameData TypeDescription
ClientIDsArray of ClientID objectsSpecifies accounts and sub-accounts, including Enterprise 2.0, On-Your-Behalf, and Lock & Publish accounts, from which to retrieve data.
ContinueRequestStringRepresents the RequestID that identifies a previous Retrieve requestto continue processing (returns the next available batch of data for that request).
PartnerPropertiesArray of APIProperty objectsA collection of metadata supplied by the client and stored by the system. These properties are accessible only via API.
QueryQuery objectSpecifies 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.
QueryAllAccountsBooleanQueries all accounts, including parent and all children, regarding an event (ignores specified ClientIDs).
RespondToArray of AsyncResponse objectsNot used.
RetrieveAllSinceLastBatchBooleanRetrieve all data since last retrieve context. Works with added and modified data. You must include the same properties and filters as the previous request.