Export (0) Print
Expand All

2.2.2.11 MoveItems

The MoveItems command moves an item or items from one folder on the server to another.

The item to be moved is identified by its server ID in the MoveItems command request (section 2.2.2.11). The source and destination folders are also identified by their server IDs in the command request. The MoveItems command response shows the status of the move, the message that was moved, and the new message ID.

When items are moved between folders on the server, the client receives Delete (section 2.2.3.42) and Add (section 2.2.3.7) operations the next time the client synchronizes the affected folders.

An item that has been successfully moved to a different folder can be assigned a new server ID by the server.

The Move namespace is the primary namespace for this section. Elements referenced in this section that are not defined in the Move namespace use the namespace prefixes defined in section 2.2.1.

The following table lists the elements that are used in MoveItems command requests and responses.

Element name

Scope

Reference

MoveItems

Request and Response

section 2.2.3.109

Move

Request

section 2.2.3.107.2

SrcMsgId

Request and Response

section 2.2.3.160

SrcFldId

Request

section 2.2.3.159

DstFldId

Request

section 2.2.3.49.2

Response

Response

section 2.2.3.140.4

Status

Response

section 2.2.3.162.9

DstMsgId

Response

section 2.2.3.50

The XML schema for the MoveItems command request is described in section 6.24. The XML schema for the MoveItems command response is described in section 6.25.

Protocol Versions

The following table specifies the protocol versions that support this command. The client indicates the protocol version being used by setting either the MS-ASProtocolVersion header, as specified in [MS-ASHTTP] section 2.2.1.1.2.4, or the Protocol version field, as specified in [MS-ASHTTP] section 2.2.1.1.1.1, in the request.

Protocol version

Command support

2.5

X

12.0

X

12.1

X

14.0

X

14.1

X

Show:
© 2015 Microsoft