3.1.4.5 MarkAllItemsAsRead Operation

The MarkAllItemsAsRead operation marks all items in a folder as read or unread.<111>

The following is the WSDL port type specification for the MarkAllItemsAsRead operation.

 <wsdl:operation name="MarkAllItemsAsRead">
   <wsdl:input message="tns:MarkAllItemsAsReadSoapIn"/>
   <wsdl:output message="tns:MarkAllItemsAsReadSoapOut"/>
 </wsdl:operation>

The following is the WSDL binding specification for the MarkAllItemsAsRead operation.

<wsdl:operation name="MarkAllItemsAsRead">
  <soap:operation soapAction="http://schemas.microsoft.com/exchange/services/2006/messages/MarkAllItemsAsRead"/>
  <wsdl:input>
    <soap:header message="tns:MarkAllItemsAsReadSoapIn" part="Impersonation" use="literal"/>
    <soap:header message="tns:MarkAllItemsAsReadSoapIn" part="MailboxCulture" use="literal"/>
    <soap:header message="tns:MarkAllItemsAsReadSoapIn" part="RequestVersion" use="literal"/>
    <soap:body parts="request" use="literal"/>
  </wsdl:input>
  <wsdl:output>
    <soap:body parts="MarkAllItemsAsReadResult" use="literal"/>
    <soap:header message="tns:MarkAllItemsAsReadSoapOut" part="ServerVersion" use="literal"/>
  </wsdl:output>
</wsdl:operation>