ParentItemId

The ParentItemId element identifies the parent item that links to an associated attachment.

<ParentItemId Id="" ChangeKey="" />

ItemIdType

Attributes and elements

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

Attributes

Attribute Description
Id
Identifies a single item in the Exchange store to associate with an attachment. This value is a string. This attribute is required.
ChangeKey
Identifies an unspecified version of an item that is identified by the Id attribute in the Exchange store. This is used to make sure that a current item is used when it is updated with an attachment. This value is a string. This attribute is optional.

Child elements

None.

Parent elements

Element Description
CreateAttachment
Defines a request to create an attachment to an item in a mailbox.
The following is the XPath expression to this element:
/CreateAttachment

Remarks

This element is required in the CreateAttachment operation. This element is basically the same as the ItemId element.

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

Name Value
Namespace
https://schemas.microsoft.com/exchange/services/2006/messages
Schema Name
Messages schema
Validation File
Messages.xsd
Can be Empty
False

See also