4.14.1.2 Response

The following example shows the FolderCreate command response (section 2.2.1.3) sent from the server to the client. A folderhierarchy:Status element (section 2.2.3.177.3) value of 1 is returned to indicate that the new folder creation was successful. The folderhierarchy:SyncKey element (section 2.2.3.181.1) value has been incremented in the response, and this value is to be used in the next FolderSync request (section 2.2.1.21), FolderCreate request (section 2.2.1.3), FolderDelete request (section 2.2.1.4), or FolderUpdate request (section 2.2.1.6). The folderhierarchy:ServerId element (section 2.2.3.166.2) value indicates the ID of the new folder.

 <?xml version="1.0" encoding="utf-8"?>
 <FolderCreate xmlns="FolderHierarchy">
   <Status>1</Status>
   <SyncKey>2</SyncKey>
   <ServerId>13</ServerId>
 </FolderCreate>