Created
April 25, 2018 20:29
-
-
Save mc-doc/4ff9ac6b800fe155ec5b8b76efa61f6c to your computer and use it in GitHub Desktop.
soap sample on retrieving_the_email_folder_hierarchy.htm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<soap:Body> | |
<RetrieveRequestMsg xmlns="http://exacttarget.com/wsdl/partnerAPI"> | |
<RetrieveRequest> | |
<ObjectType>DataFolder</ObjectType> | |
<Properties>Client.ID</Properties> | |
<Properties>Name</Properties> | |
<Properties>ID</Properties> | |
<Properties>ObjectID</Properties> | |
<Properties>ContentType</Properties> | |
<!--Parent Details--> | |
<Properties>ParentFolder.ContentType</Properties> | |
<Properties>ParentFolder.ID</Properties> | |
<Properties>ParentFolder.ObjectID</Properties> | |
<Properties>ParentFolder.Name</Properties> | |
<Filter xsi:type="SimpleFilterPart"> | |
<Property>ContentType</Property> | |
<SimpleOperator>equals</SimpleOperator> | |
<Value>email</Value> | |
</Filter> | |
<QueryAllAccounts>true</QueryAllAccounts> | |
</RetrieveRequest> | |
</RetrieveRequestMsg> | |
</soap:Body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment