Export (0) Print
Expand All BodyPreference

The BodyPreference element is an optional element that sets preference information related to the type and size of information that is returned from searching, synchronizing, or fetching.

The BodyPreference element is a container data type, as specified in [MS-ASDTYPE] section 2.2.

A command response MUST NOT include the BodyPreference element. Command requests can include the BodyPreference element. The BodyPreference element, if present, has the following child elements in this order:

  • Type (section This element is required.

  • TruncationSize (section This element is optional.

  • AllOrNone (section This element is optional.

  • Preview (section This element is optional.

The contents of the airsync:Options, itemoperations:Options, or search:Options element specify preferences for all of the content that the user is interested in searching, synchronizing, or retrieving. These preferences are persisted by the server from request to request for the specified client, and can be changed by the inclusion of an airsync:Options element in any subsequent request.

A request MUST NOT contain more than one BodyPreference element for each allowable value of the Type element.

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










© 2014 Microsoft