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.

4.5.3 Uploading New ApplicationData to the Server<br />

The following sections show how a client uploads new application data to the server by using the<br />

Sync command (section 2.2.2.19).<br />

4.5.3.1 Request<br />

The following example shows the Sync command request (section 2.2.2.19.1) sent from the client<br />

to the server to add a contact.<br />

<br />

<br />

…<br />

<br />

<br />

123<br />

<br />

anat@fourthcoffee.com<br />

Anat<br />

W<br />

Kerry<br />

Sr Marketing Manager<br />

<br />

<br />

<br />

…<br />

<br />

4.5.3.2 Response<br />

The following example shows the Sync command response (section 2.2.2.19.2) sent from the<br />

server to the client. The response shows that the synchronization was successful and that the new<br />

item from the client, identified by the airsync:ClientId element (section 2.2.3.27.2), was added to<br />

the collection on the server. The server also assigns a permanent ID for the newly added item in the<br />

airsync:ServerId element (section 2.2.3.141.6). After the client receives a successful response,<br />

the client uses this server ID for any future airsync:Change (section 2.2.3.23) or airsync:Delete<br />

(section 2.2.3.40.2) commands for this item.<br />

<br />

<br />

…<br />

<br />

<br />

123<br />

4:1<br />

1<br />

<br />

<br />

…<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 />

282 / 369

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

Saved successfully!

Ooh no, something went wrong!