3.1.4.3.3.3 t:AttachmentResponseShapeType Complex Type

The AttachmentResponseShapeType complex type identifies additional properties for the GetAttachment operation to return.

 <xs:complexType name="AttachmentResponseShapeType">
   <xs:sequence>
     <xs:element name="IncludeMimeContent"
       type="xs:boolean"
       minOccurs="0"
      />
     <xs:element name="BodyType"
       type="t:BodyTypeResponseType"
       minOccurs="0"
      />
     <xs:element name="FilterHtmlContent"
       type="xs:boolean"
       minOccurs="0"
       maxOccurs="1"
      />
     <xs:element name="AdditionalProperties"
       type="t:NonEmptyArrayOfPathsToElementType"
       minOccurs="0"
      />
   </xs:sequence>
 </xs:complexType>
  

The following table lists the child elements of the AttachmentResponseShapeType complex type.<9>

Element

Type

Description

IncludeMimeContent

xs:boolean ([XMLSCHEMA2])

Indicates whether the MIME content of an item or attachment is returned in a response. A text value of "true" indicates that the attachment contains MIME content.<10>

BodyType

t:BodyTypeResponseType ([MS-OXWSCDATA] section 2.2.5.1)

Represents the format of the body text in a response.

FilterHtmlContent

xs:boolean ([XMLSCHEMA2])

Indicates whether to filter potentially unsafe HTML content from message bodies. A text value of "true" indicates that potentially unsafe HTML content is to be filtered from the attachment.

AdditionalProperties

t:NonEmptyArrayOfPathsToElementType ([MS-OXWSCDATA] section 2.2.4.48)

Contains additional properties to return in a response.