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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The server ID is obtained from the ServerId element of a previous FolderSync command (section<br />

2.2.2.4) or FolderCreate command (section 2.2.2.2). The ServerId specifies a unique identifier<br />

assigned by the server to each object that can be synchronized. The client MUST store the ServerId<br />

for each folder and MUST be able to locate a folder given a ServerId.<br />

The client MUST store the ServerId as an opaque string of up to 64 characters.<br />

2.2.3.141.5 ServerId (ItemOperations)<br />

The airsync:ServerId element is an optional child element of the Fetch element in<br />

ItemOperations command requests and responses. It specifies a unique identifier that is assigned<br />

by the server to each object that can be synchronized or have an item operation applied to it. This<br />

element is defined in the AirSync namespace.<br />

Elements referenced in this section are defined in the ItemOperations namespace, except where<br />

otherwise indicated by the presence of a namespace prefix (as defined in section 2.2.1).<br />

<strong>Command</strong> request/response<br />

Parent<br />

elements<br />

Child<br />

elements<br />

Data type<br />

Number<br />

allowed<br />

ItemOperations command<br />

request (section 2.2.2.8.2) Fetch<br />

operation<br />

Fetch (section<br />

2.2.3.60.1)<br />

None<br />

string ([<strong>MS</strong>-<br />

ASDTYPE]<br />

section 2.6)<br />

0...1<br />

(optional)<br />

ItemOperations command<br />

response (section 2.2.2.8.3) Fetch<br />

operation<br />

Fetch None string 0...1<br />

(optional)<br />

The client MUST store the value of the airsync:ServerId element for any item that is retrieved by<br />

means of the Sync command (section 2.2.2.19) or Search command (section 2.2.2.14). In an<br />

ItemOperations request, the airsync:ServerId element can be used by the Fetch element to<br />

refer to the location of the item in question.<br />

2.2.3.141.6 ServerId (Sync)<br />

The ServerId element is an optional child element of the Change element, the Delete element,<br />

and the Fetch element in Sync command requests, and a required child element of the Delete<br />

element, the SoftDelete element, the Change element, the Add element, and the Fetch element<br />

in Sync command responses. It respresents a unique identifier that is assigned by the server to<br />

each object that can be synchronized. The client MUST store the server ID for each object as an<br />

opaque string of up to 64 characters and MUST be able to locate an object given a server ID.<br />

All elements referenced in this section are defined in the AirSync namespace.<br />

<strong>Command</strong><br />

request/response<br />

Parent elements<br />

Child<br />

elements<br />

Data type<br />

Number<br />

allowed<br />

Sync command request<br />

(section 2.2.2.19.1)<br />

Change (section<br />

2.2.3.23)<br />

Delete (section<br />

2.2.3.40.2)<br />

Fetch (section<br />

2.2.3.60.2)<br />

None<br />

string ([<strong>MS</strong>-<br />

ASDTYPE] section<br />

2.6)<br />

0…1<br />

(optional)<br />

Sync command response<br />

(section 2.2.2.19.2)<br />

Delete<br />

SoftDelete<br />

None string 1…1<br />

(required)<br />

211 / 369<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

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

Saved successfully!

Ooh no, something went wrong!