11.01.2015 Views

[MS-ASCMD]: ActiveSync Command Reference Protocol Specification

[MS-ASCMD]: ActiveSync Command Reference Protocol Specification

[MS-ASCMD]: ActiveSync Command Reference Protocol Specification

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

2.2.2.10 MoveItems<br />

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

The item to be moved is identified by its server ID in the MoveItems command request (section<br />

2.2.2.10.1). The source and destination folders are also identified by their server IDs in the<br />

command request. The MoveItems command response (section 2.2.2.10.2) shows the status of the<br />

move, the message that was moved, and the new message ID.<br />

When items are moved between folders on the server, the client receives Delete (section 2.2.3.40)<br />

and Add (section 2.2.3.7) operations the next time the client synchronizes the affected folders.<br />

An item that has been successfully moved to a different folder can be assigned a new server ID by<br />

the server.<br />

The Move namespace is the primary namespace for this section. Elements referenced in this section<br />

that are not defined in the Move namespace use the namespace prefixes defined in section 2.2.1.<br />

The following table lists the elements that are used in MoveItems command requests and<br />

responses.<br />

Element Scope <strong>Reference</strong><br />

MoveItems Request and Response section 2.2.3.102<br />

Move Request section 2.2.3.100.2<br />

SrcMsgId Request and Response section 2.2.3.150<br />

SrcFldId Request section 2.2.3.149<br />

DstFldId Request section 2.2.3.47.2<br />

Response Response section 2.2.3.130.4<br />

Status Response section 2.2.3.152.9<br />

DstMsgId Response section 2.2.3.48<br />

2.2.2.10.1 Request<br />

The following code shows the XSD [XMLSCHEMA1] for the MoveItems command request.<br />

<br />

[<strong>MS</strong>-<strong>ASCMD</strong>] — v20110315<br />

<strong>ActiveSync</strong> <strong>Command</strong> <strong>Reference</strong> <strong>Protocol</strong> <strong>Specification</strong><br />

Copyright © 2011 Microsoft Corporation.<br />

Release: Tuesday, March 15, 2011<br />

46 / 369

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!