2.2.3.17 BodyType
The BodyType element is a required child element of the Get element in Settings command Oof requests. It is a required child element of the OofMessage element in Settings command requests and responses if a ReplyMessage element (section 2.2.3.149) is present as a child of the OofMessage element. In all contexts, it specifies the format of the OOF message.
All elements referenced in this section are defined in the Settings namespace.
Command request/response |
Parent elements |
Child elements |
Data type |
Number allowed |
---|---|---|---|---|
Settings command Oof Get request (section 2.2.1.18) |
Get (section 2.2.3.83) |
None |
string ([MS-ASDTYPE] section 2.7) |
1…1 (required) |
Settings command Oof Set request |
OofMessage (section 2.2.3.123) |
None |
string |
1…1 (required) if a ReplyMessage element is present; otherwise, 0…1 (optional) |
Settings command Oof response |
OofMessage |
None |
string |
1...1 (required) if a ReplyMessage element is present; otherwise, 0…1 (optional) |
The following are the permitted values for the BodyType element:
§ Text
§ HTML
If the BodyType element has the value "HTML", all message strings are sent in the HTML format. If the BodyType element has the value "Text", the message strings are sent in plain text. Because there is no default value, the BodyType element MUST be present (with a non-NULL value) in a Settings command Oof Get operation request and MUST be present (with a non-NULL value) in a Settings command Oof Set operation request if the ReplyMessage element (section 2.2.3.149) has been set, and MUST be present (with a non-NULL value) in a Settings command Oof Get operation response if the ReplyMessage element is returned.
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.6, 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 |
Yes |
12.1 |
Yes |
14.0 |
Yes |
14.1 |
Yes |
16.0 |
Yes |
16.1 |
Yes |