Export (0) Print
Expand All

2.2.2.7 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 2.2.2.22.4). This element is required.

  • TruncationSize (section 2.2.2.21.2). This element is optional.

  • AllOrNone (section 2.2.2.1.2). This element is optional.

  • Preview (section 2.2.2.18.4). 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 2.2.1.1.2.4, or the Protocol version field, as specified in [MS-ASHTTP] section 2.2.1.1.1.1, in the request.

Protocol version

Element support

2.5

12.0

X

12.1

X

14.0

X

14.1

X

Show:
© 2014 Microsoft