I am trying to retrieving the email below code and returned as error using SAOP API (.NET). Is there any code issue here ? What is the the minimum input is required to retrieve email object ? I am passing email id (i.e. xxxxxxxxxxxxxxxxxxx) and email name (i.e. yyyyyyyyyyyyyy) as properties to the retrieve request object.
RetrieveRequest rr = new RetrieveRequest(); rr.ObjectType = "Email";//required
rr.Properties = new string[] {"xxxxxxxxxxxxxxxxxxx","yyyyyyyyyyyyyy" };//required
APIObject[] Results; String requestID;
String status = _exactTargetSoapApiClient.Retrieve(rr, out requestID, out Results);
Email email2 = (Email)Results[0];
I am getting below error when I am trying to retrieve the email
Error: The Request Property(s) xxxxxxxxxxxxxxxxxxx,yyyyyyyyyyyyyy do not match with the fields of Email retrieve
Please let me know if any further information is required.
Thanks, Rama
Properties
I don't think it's"xxxxxxxxxxxxxxxxxxx","yyyyyyyyyyyyyy"