CopyItem

The CopyItem element defines a request to copy an item in a mailbox in the Exchange store.

<CopyItem>
   <ToFolderId/>
   <ItemIds/>
   <ReturnNewItemIds/>
</CopyItem>

CopyItemType

Attributes and elements

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

Attributes

None.

Child elements

Element Description
ToFolderId
Represents the destination folder for a copied item.
ItemIds
Contains an array of identified items to copy to the folder represented by the ToFolderId element.
ReturnNewItemIds
Indicates whether the item identifiers of new items are returned in the response.

Parent elements

None.

Remarks

The schema that describes this element is located in the IIS virtual directory that hosts Exchange Web Services.

Element information

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

See also

CopyItem operation