CreateItem
Last modified: October 13, 2012
Applies to: Exchange Online | Exchange Server 2007 | Exchange Server 2010 | Exchange Server 2013 | Office 365
The CreateItem element defines a request to create an item in the Exchange store.
<CreateItem MessageDisposition="" SendMeetingInvitations=""> <SavedItemFolderId/> <Items/> </CreateItem>
CreateItemType
The following sections describe attributes, child elements, and parent elements.
Attributes
|
Attribute |
Description |
|---|---|
|
MessageDisposition |
Describes how the item will be handled after it is created. The attribute is required for e-mail messages. This attribute is only applicable to e-mail messages. |
|
SendMeetingInvitations |
Describes how meeting requests are handled after they are created. This attribute is required for calendar items. |
MessageDisposition Attribute
|
Value |
Description |
||
|---|---|---|---|
|
SaveOnly |
The message item is saved in the folder that is specified by the SavedItemFolderId element. Messages can be sent later by using the SendItem operation. An item identifier is returned in the response. Item identifiers are not returned for any item types except for message items. This includes response objects. |
||
|
SendOnly |
The item is sent but no copy is saved in the Sent Items folder. An item identifier is not returned in the response.
|
||
|
SendAndSaveCopy |
The item is sent and a copy is saved in the folder that is identified by the SavedItemFolderId element. An item identifier is not returned in the response.
|
SendMeetingInvitations Attribute
|
Value |
Description |
|---|---|
|
SendToNone |
If the item is a meeting request, it is saved as a calendar item but not sent. |
|
SendOnlyToAll |
The meeting request is sent to all attendees but is not saved in the Sent Items folder. |
|
SendToAllAndSaveCopy |
The meeting request is sent to all attendees and a copy is saved in the folder that is identified by the SavedItemFolderId element. |
Child elements
|
Element |
Description |
|---|---|
|
Identifies the target folder where a new item can be created. If the MessageDisposition attribute is set to SendOnly, a created message will only be sent. The message will not be put in the folder that is identified by the SavedItemFolderId element. |
|
|
Contains an array of items to create in the folder that is identified by the SavedItemFolderId element. |
Parent elements
None.
Note