Using the ExactTarget API, I'm trying to get all the properties for a QueryDefinition. I have them all, but when I try to get the "DataExtensionTarget" property, I get the folowing error message:
"Error: The Request Property(s) DataExtensionTarget do not match with the fields of QueryDefinition retrieve"
Is this property not available to retrieve via the API?
Here is my code:
var retrieveRequest = new RetrieveRequest();
retrieveRequest.ObjectType = "QueryDefinition";
retrieveRequest.Properties = new string[] { "CategoryID", "ObjectID", "CustomerKey", "Name", "Description", "QueryText", "TargetType", "TargetUpdateType", "Status", "FileSpec", "FileType", "DataExtensionTarget" };
string requestID;
APIObject[] results;
var status = this.client.Retrieve(retrieveRequest, out requestID, out results);