Example XML Request
<request>
<data>
<!--The GUID for organization own the public store. Both of the two formats are supported: {08fd2bcd-dcd6-4d80-9cd4-1e88069e37f8} or cd2bfd08d6dc804d9cd41e88069e37f8.-->
<GUID>cd2bfd08d6dc804d9cd41e88069e37f8</GUID>
<!--The domain controller to use for Active Directory actions.-->
<preferredDomainController>AD01.Fabrikam.Com</preferredDomainController>
<!--Specifies the name of the public folder.-->
<name>Legal</name>
<!--Specifies the location of the folder in the folder hierarchy, for example, \ for root level folders.-->
<path>\AlpineSkiHouse</path>
<!--Specifies the server on which the public folder resides.-->
<server>EXMBXOAB01</server>
<!--Specifies that all subfolders of the specified folder should be removed. If the Recurse parameter is not specified and the public folder has subfolders, the command does not run and returns an error message.-->
<recurse>true</recurse>
</data>
<procedure>
<execute namespace="Managed Email 2007" procedure="DeleteFolder" impersonate="1">
<before source="data" sourcePath="GUID" destination="executeData" mode="move" />
<before source="data" sourcePath="preferredDomainController" destination="executeData" mode="move" />
<before source="data" sourcePath="name" destination="executeData" mode="move" />
<before source="data" sourcePath="path" destination="executeData" mode="move" />
<before source="data" sourcePath="server" destination="executeData" mode="move" />
<before source="data" sourcePath="recurse" destination="executeData" mode="move" />
<after source="executeData" destination="data" mode="merge" />
</execute>
</procedure>
</request>
Example XML Response 1
<data>
<!--The LDAP Path of the organization-->
<organization>LDAP://OU=AlpineSkiHouse,OU=ConsolidatedMessenger,OU=Hosting,DC=Fabrikam,DC=Com</organization>
<!--The domain controller to use for Active Directory actions.-->
<preferredDomainController>AD01.Fabrikam.Com</preferredDomainController>
<!--Specifies the name of the public folder.-->
<name>Legal</name>
<!--Specifies the location of the folder in the folder hierarchy, for example, \ for root level folders.-->
<path>\AlpineSkiHouse</path>
<!--Specifies the server on which the public folder resides.-->
<server>EXMBXOAB01</server>
<!--Specifies that all subfolders of the specified folder should be removed. If the Recurse parameter is not specified and the public folder has subfolders, the command does not run and returns an error message.-->
<recurse>true</recurse>
</data>
</response>
Example XML Response 2
<response>
<data>
<!--
The GUID for organization own the public store.
-->
<GUID>cd2bfd08d6dc804d9cd41e88069e37f8</GUID>
<!--The domain controller to use for Active Directory actions.-->
<preferredDomainController>AD01.Fabrikam.Com</preferredDomainController>
<!--Specifies the name of the public folder.-->
<name>Legal</name>
<!--Specifies the location of the folder in the folder hierarchy, for example, \ for root level folders.-->
<path>\AlpineSkiHouse</path>
<!--Specifies the server on which the public folder resides.-->
<server>EXMBXOAB01</server>
<!--Specifies that all subfolders of the specified folder should be removed. If the Recurse parameter is not specified and the public folder has subfolders, the command does not run and returns an error message.-->
<recurse>true</recurse>
</data>
</response>