Monitoring multiple folders in a single syncFolderItems operation?

Is it possible to control multiple folders in one syncFolderItems operation? I tried, but it doesn't seem to work. For example, this:

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
  <soap:Body>
    <SyncFolderItems xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
      <ItemShape>
        <t:BaseShape>Default</t:BaseShape>
      </ItemShape>
      <SyncFolderId>           
 <t:DistinguishedFolderId Id="drafts"/>
 <t:DistinguishedFolderId Id="inbox"/>


 </SyncFolderId>

      <MaxChangesReturned>500</MaxChangesReturned>
    </SyncFolderItems>
  </soap:Body>
</soap:Envelope>

does not work: (

Is it possible? Thank:)

+3
source share
1 answer

I know this is a very old question, but nonetheless it is important for another user, so I answer. No, it is impossible.
SyncFolderId can have one child tag. FolderID or DistinguishedFolderID

<SyncFolderId>
   <FolderId/>
</SyncFolderId>

<SyncFolderId>
   <DistinguishedFolderId/>
</SyncFolderId>

link http://msdn.microsoft.com/en-us/library/exchange/aa580296%28v=exchg.80%29.aspx

+2
source

All Articles