4.4 Moving a Post Object

In this scenario, Jason wants to move the Post object announcing the July 22 meeting to a public folder named "Archive".

The following is the client request to move the Post object.

 <?xml version="1.0" encoding="utf-16"?>
 <MoveItemType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <ToFolderId xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
     <FolderId Id="AQEuAAADGkRzkKpmEc2byACqAC/EWgMAtzciqtvmvEOGtSfqReMVLgABEfqergAAAA==" ChangeKey="AQAAABYAAAC3NyKq2+a8Q4a1J+pF4xUuAAER+p6w" xmlns="http://schemas.microsoft.com/exchange/services/2006/types" />
   </ToFolderId>
   <ItemIds xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
     <ItemId Id="AQIARgAAAxpEc5CqZhHNm8gAqgAvxFoJALc3Iqrb5rxDhrUn6kXjFS4AARH6mqcAAAC3NyKq2+a8Q4a1J+pF4xUuAAER+pqyAAAALgAAAxpEc5CqZhHNm8gAqgAvxFoDALc3Iqrb5rxDhrUn6kXjFS4AARH6mqcAAAA=" ChangeKey="FgAAABYAAAC3NyKq2+a8Q4a1J+pF4xUuAAER+py6" xmlns="http://schemas.microsoft.com/exchange/services/2006/types" />
   </ItemIds>
   <ReturnNewItemIds xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">true</ReturnNewItemIds>
 </MoveItemType>

The following is the server response.

 <?xml version="1.0" encoding="utf-16"?>
 <MoveItemResponseType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <ResponseMessages xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
     <MoveItemResponseMessage ResponseClass="Success">
       <ResponseCode>NoError</ResponseCode>
       <Items>
         <PostItem xmlns="http://schemas.microsoft.com/exchange/services/2006/types">
           <ItemId Id="AQIARgAAAxpEc5CqZhHNm8gAqgAvxFoJALc3Iqrb5rxDhrUn6kXjFS4AARH6nq4AAAC3NyKq2+a8Q4a1J+pF4xUuAAER+p7GAAAALgAAAxpEc5CqZhHNm8gAqgAvxFoDALc3Iqrb5rxDhrUn6kXjFS4AARH6nq4AAAA=" ChangeKey="FgAAAA==" />
         </PostItem>
       </Items>
     </MoveItemResponseMessage>
   </ResponseMessages>
 </MoveItemResponseType>
Show: