Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
2.2.4.6 t:ItemAttachmentType Complex Type

2.2.4.6 t:ItemAttachmentType Complex Type

The ItemAttachmentType complex type represents an item that is attached to another item in the server store. The ItemAttachmentType complex type extends the AttachmentType complex type as specified in section 2.2.4.4. If the item attachment is MeetingMessage, MeetingRequest, MeetingResponse or MeetingCancellation, the server SHOULD return ErrorInvalidItemForOperationCreateItemAttachment response code as specified in [MS-OXWSCDATA] section 2.2.5.23. If none of the child elements of ItemAttachmentType is specified in the CreateAttachment request, the server MUST return an ErrorMissingItemForCreateItemAttachment response code as specified in [MS-OXWSCDATA] section 2.2.5.23.

<xs:complexType name="ItemAttachmentType">
  <xs:complexContent>
    <xs:extension
      base="t:AttachmentType"
    >
      <xs:choice
        minOccurs="0"
        maxOccurs="1"
      >
        <xs:element name="Item"
          type="t:ItemType"
         />
        <xs:element name="Message"
          type="t:MessageType"
         />
        <xs:element name="CalendarItem"
          type="t:CalendarItemType"
         />
        <xs:element name="Contact"
          type="t:ContactItemType"
         />
        <xs:element name="MeetingMessage"
          type="t:MeetingMessageType"
         />
        <xs:element name="MeetingRequest"
          type="t:MeetingRequestMessageType"
         />
        <xs:element name="MeetingResponse"
          type="t:MeetingResponseMessageType"
         />
        <xs:element name="MeetingCancellation"
          type="t:MeetingCancellationMessageType"
         />
        <xs:element name="Task"
          type="t:TaskType"
         />
        <xs:element name="PostItem"
          type="t:PostItemType"
         />
      </xs:choice>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>

The following table lists the child elements of the ItemAttachmentType complex type.

Element

Type

Description

Item

t:ItemType ([MS-OXWSCORE] section 2.2.4.23)

Represents a generic item in the server store.<3>

Message

t:MessageType ([MS-OXWSMSG] section 2.2.4.1)

Represents a server e-mail message.

CalendarItem

t:CalendarItemType ([MS-OXWSMTGS] section 2.2.4.4)

Represents a calendar item.

Contact

t:ContactItemType ([MS-OXWSCONT] section 2.2.4.2)

Represents a contact item.

MeetingMessage

t:MeetingMessageType ([MS-OXWSMTGS] section 2.2.4.12)

Represents a meeting message in the server store.

MeetingRequest

t:MeetingRequestMessageType ([MS-OXWSMTGS] section 2.2.4.13)

Represents a meeting request in the server store.

MeetingResponse

t:MeetingResponseMessageType ([MS-OXWSMTGS] section 2.2.4.14)

Represents a meeting response in the server store.

MeetingCancellation

t:MeetingCancellationMessageType ([MS-OXWSMTGS] section 2.2.4.11)

Represents a meeting cancellation in the server store.

Task

t:TaskType ([MS-OXWSTASK] section 2.2.4.6)

Represents a task in the server store.

PostItem

t:PostItemType ([MS-OXWSPOST] section 2.2.4.1)

Represents a post item in the server store.

Show:
© 2015 Microsoft