Options (Sync)

The Options element is an optional child element of the Collection element in Sync command requests that contains elements that control certain aspects of how the synchronization is performed.

Elements referenced in this section are defined in the AirSync namespace, except where otherwise indicated by the presence of a namespace prefix (as defined in section 2.2.4).

Command request/response

Parent elements

Child elements

Data type

Number allowed

Sync command request (section

Collection (section

FilterType (section

Conflict (section

MIMETruncation (section

MIMESupport (section

Class (section

MaxItems (section

Truncation (section

airsyncbase:BodyPreference ([MS-ASAIRS] section

airsyncbase:BodyPartPreference ([MS-ASAIRS] section

rm:RightsManagementSupport ([MS-ASRM] section

container ([MS-ASDTYPE] section 2.2)

0...2 (optional)

This element is optional, but if it is present, it SHOULD include at least one child element. The Options element appears only in requests to the server from the client.

Synchronization options enable the client to specify truncation and content settings. These settings are encapsulated within a airsyncbase:BodyPreference child element, as specified in [MS-ASAIRS] section

Because synchronization options are specified on a collection, the client can specify a unique airsyncbase:BodyPreference element value for each collection that it is being synchronized. For more details about the airsyncbase:BodyPreference element, see [MS-ASAIRS] section

The server preserves the Options block across requests, using a concept referred to as "sticky options". If the Options block is not included in a request, the previous Options block is used. Whenever the client specifies new options by including an Options block in the request, the server MUST replace the original Options block with the new Options block.

If two Options elements are included in a single Sync command request, one of the Options elements MUST specify the synchronization options for the SMS class, while the other Options element specifies the options for the default class of the given folder.

Protocol Versions

The following table specifies the protocol versions that support this element. The client indicates the protocol version being used by setting either the MS-ASProtocolVersion header, as specified in [MS-ASHTTP] section, or the Protocol version field, as specified in [MS-ASHTTP] section, in the request.

Protocol version

Element support















All protocol versions except 2.5 support the airsyncbase:BodyPreference element as a child element of the Options element in a Sync command request. The airsyncbase:BodyPartPreference element and the rm:RightsManagementSupport element are supported as a child elements of the Options element only when protocol version 14.1, 16.0, or 16.1 is used. Protocol version support of other elements referenced in this section is specified in the individual sections that define those elements.