3.1.4.1 GetInboxRules

The GetInboxRules operation retrieves Inbox rules (2) in the identified user's mailbox.

The following is the WSDL port type specification of the operation.

 <wsdl:operation name="GetInboxRules">
   <wsdl:input message="tns:GetInboxRulesSoapIn" />
   <wsdl:output message="tns:GetInboxRulesSoapOut" />
 </wsdl:operation>

The following is the WSDL binding specification of the operation.

 <wsdl:operation name="GetInboxRules">
     <soap:operation soapAction="http://schemas.microsoft.com/exchange/services/2006/messages/GetInboxRules" />
     <wsdl:input>
         <soap:header message="tns:GetInboxRulesSoapIn" part="Impersonation" use="literal" />
         <soap:header message="tns:GetInboxRulesSoapIn" part="MailboxCulture" use="literal" />
         <soap:header message="tns:GetInboxRulesSoapIn" part="RequestVersion" use="literal" />
         <soap:header message="tns:GetInboxRulesSoapIn" part="TimeZoneContext" use="literal" />
         <soap:body parts="request" use="literal" />
     </wsdl:input>
     <wsdl:output>
         <soap:body parts="GetInboxRulesResult" use="literal" />
         <soap:header message="tns:GetInboxRulesSoapOut" part="ServerVersion" use="literal" />
     </wsdl:output>
 </wsdl:operation>

The protocol client sends a GetInboxRulesSoapIn request WSDL message and the protocol server responds with a GetInboxRulesSoapOut response WSDL message.

A successful GetInboxRules operation request returns a GetInboxRulesResponse element with the ResponseClass attribute of the GetInboxRulesResponseType element set to "Success". The ResponseCode element of the GetInboxRulesResponse element is set to "NoError".