Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

4.1 Synchronizing E-Mail Items and SMS Items

The following is an example of how the options are specified when the client synchronizes e-mail items and SMS items.

Client's Sync command request:

<?xml version="1.0" encoding="utf-8"?>
<Sync xmlns="AirSync:" xmlns:airsyncbase="AirSyncBase:"> 
  <Collections>
    <Collection>
      <SyncKey>601771687</SyncKey>
      <CollectionId>15</CollectionId>
      <DeletesAsMoves/>
      <GetChanges/>
      <WindowSize>100</WindowSize>
      <Options>
        <Class>SMS</Class>
        <FilterType>0</FilterType>
        <airsyncbase:BodyPreference>
          <airsyncbase:Type>1</airsyncbase:Type>
          <airsyncbase:TruncationSize>102400</airsyncbase:TruncationSize>
        </airsyncbase:BodyPreference>
      </Options>
      <Options>
        <FilterType>2</FilterType>
        <airsyncbase:BodyPreference><airsyncbase:Type>1</airsyncbase:Type></airsyncbase:BodyPreference>
        <airsyncbase:BodyPreference><airsyncbase:Type>2</airsyncbase:Type></airsyncbase:BodyPreference>
        <airsyncbase:BodyPreference>
          <airsyncbase:Type>4</airsyncbase:Type>
          <airsyncbase:TruncationSize>102400</airsyncbase:TruncationSize>
        </airsyncbase:BodyPreference>
        <MIMESupport>0</MIMESupport>
        <Conflict>1</Conflict>
      </Options>
      <Commands>
         ...
      </Commands>
    </Collection>
  </Collections>
</Sync>
Show:
© 2014 Microsoft. All rights reserved.