AttachmentId

The AttachmentId element identifies an item or file attachment. This element is used in CreateAttachment responses.

<AttachmentId Id="" RootItemId="" RootItemChangeKey="" />

AttachmentIdType

Attributes and elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description
Id
Identifies the unique identifier of the attachment.
RootItemId
Identifies the unique identifier of the root store item to which the attachment is attached.
RootItemChangeKey
Identifies the change key of the root store item to which the attachment is attached.

Child elements

None.

Parent elements

Element Description
ItemAttachment
Represents an Exchange item that is attached to another Exchange item.
FileAttachment
Represents a file that is attached to an item in the Exchange store.

Remarks

It is important to note that when an attachment is created, the change key of the root item is altered.

The AttachmentId (GetAttachment and DeleteAttachment) element is used in DeleteAttachment and GetAttachment requests.

The schema that describes this element is located in the EWS virtual directory of the computer that is running MicrosoftExchange Server 2007 that has the Client Access server role installed.

Element information

Element Description
Namespace
https://schemas.microsoft.com/exchange/services/2006/types
Schema name
Types schema
Validation file
Types.xsd
Can be empty
False

See also