Perform a Query Activity

You can use SOAP API to perform existing query activities and return the resulting data. You must create the query activity in the web interface before you can use SOAP API to perform the activity. You must use the ObjectID for the query definition, which you can find by performing a retrieve on the QueryDefinition object.

Identify your query activity with the specified ObjectID. Use these code examples as a model for your own code.

The response to your request includes the TaskID, which you can use as a filter with the AsyncActivityStatus object to retrieve the status of the query activity.

Query Activity