ItemId

The ItemId element contains the unique identifier and change key of an item in the Exchange store.

<ItemId Id="" ChangeKey="" />

ItemIdType

Attributes and elements

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

Attributes

Attribute Description
Id
Identifies a specific item in the Exchange store. Id is case-sensitive; therefore, comparisons between Ids must be case-sensitive or binary.
ChangeKey
Identifies a specific version of an item.

A ChangeKey is required for the following scenarios:

- The UpdateItem element requires a ChangeKey if the ConflictResolution attribute is set to AutoResolve. AutoResolve is a default value. If the ChangeKey attribute is not included, the response will return a ResponseCode value equal to ErrorChangeKeyRequired.

- The SendItem element requires a ChangeKey to test whether the attempted operation will act upon the most recent version of an item. If the ChangeKey attribute is not included in the ItemId or if the ChangeKey is empty, the response will return a ResponseCode value equal to ErrorStaleObject.

Child elements

None.

Parent elements

Element Description
CalendarItem
Represents an Exchange calendar item.
Contact
Represents an Exchange contact item.
CopiedEvent
Represents an event when an item or folder is copied.
CreatedEvent
Represents an event when an item or folder is created.
Delete (ItemSync)
Identifies a single item to delete in the local client store.
DeletedEvent
Represents an event when an item or folder is deleted.
DistributionList
Represents a distribution list.
ExportItemsResponseMessage
Contains the status and results of a request to export a single mailbox item.
FirstOccurrence
Represents the first occurrence of a recurring calendar item.
GlobalItemIds
Contains the collection of item identifiers for all conversation items in a mailbox.
Ignore
Identifies items to skip during synchronization.
Item
Represents a generic Exchange item.
Item (UploadItemType)
Represents a single item to upload into a mailbox.
ItemChange
Contains an item identifier and the updates to apply to the item.

The following is the XPath expression to this element:

/UpdateItem/ItemChanges/ItemChange[i]
ItemIds
Contains the unique identities of items, occurrence items, and recurring master items used to delete, send, get, move, or copy items in the Exchange store.

The following are the XPath expressions to this element:

/DeleteItem/ItemIds
/SendItem/ItemIds
/GetItem/ItemIds
/MoveItem/ItemIds
/CopyItem//ItemIds
ItemIds (NonEmptyArrayOfItemIdsType)
Contains an array of item identifiers that identify the items to export from a mailbox.
LastOccurrence
Represents the last occurrence of a recurring calendar item.
Mailbox
Identifies a mail-enabled Active Directory directory service object.
MeetingCancellation
Represents a meeting cancellation in the Exchange store.
MeetingMessage
Represents a meeting in the Exchange store.
MeetingRequest
Represents a meeting request in the Exchange store.
MeetingResponse
Represents a meeting response in the Exchange store.
Message
Represents an Exchange e-mail message.
ModifiedEvent
Represents an event that occurs when an item is modified.
MovedEvent
Represents an event that occurs when an item is moved from one parent folder to another parent folder.
NewMailEvent
Represents an event that is triggered by a new mail item in a mailbox.
Occurrence
Represents a single modified occurrence of a recurring calendar item.
PlayOnPhone (Exchange Web Services)
Represents a request to read an item on a telephone.
RemoveItem
Removes an item from the Exchange store.
RoomList
Represents an e-mail address that identifies a list of meeting rooms.
Task
Represents a task in the Exchange store.
UploadItemsResponseMessage
Contains the status and results of a request to upload a single mailbox item.
UserConfiguration
Defines a single user configuration object.

Text value

None.

Remarks

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

Element information

Name Value
Namespace
http://schemas.microsoft.com/exchange/services/2006/types
Schema Name
Types schema
Validation File
Types.xsd
Can be Empty
False

See also