4.14.4.2 Response

The following example shows the ItemOperations command response (section 2.2.1.10) sent from the server to the client. An itemoperations:Status element (section 2.2.3.177.8) value of 1 is returned to indicate that the folder deletion was successful. The itemoperations:EmptyFolderContents element (section 2.2.3.58) and airsync:CollectionId element (section 2.2.3.30.3) provide confirmation of the folder whose contents were deleted.

 <?xml version="1.0" encoding="utf-8"?>
 <ItemOperations xmlns:airsync="AirSync" xmlns="ItemOperations">
   <Status>1</Status>
   <Response>
     <EmptyFolderContents>
       <Status>1</Status>
       <airsync:CollectionId>15</airsync:CollectionId>
     </EmptyFolderContents>
   </Response>
 </ItemOperations>