4.2 GetUserOofSettings Response

The following example shows a successful response to a GetUserOofSettings operation request.

 <?xml version="1.0" encoding="utf-8" ?>
 <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <soap:Header>
     <t:ServerVersionInfo MajorVersion="8" MinorVersion="1" MajorBuildNumber="240" MinorBuildNumber="5" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" />
   </soap:Header>
   <soap:Body>
     <GetUserOofSettingsResponse xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
       <ResponseMessage ResponseClass="Success">
         <ResponseCode>NoError</ResponseCode>
       </ResponseMessage>
       <OofSettings xmlns="http://schemas.microsoft.com/exchange/services/2006/types">
         <OofState>Enabled</OofState>
         <ExternalAudience>All</ExternalAudience>
         <Duration>
           <StartTime>2008-02-01T00:00:00</StartTime>
           <EndTime>2008-02-02T00:00:00</EndTime>
         </Duration>
         <InternalReply>
           <Message>I am out of office. This is my internal reply.</Message>
         </InternalReply>
         <ExternalReply>
           <Message>I am out of office. This is my external reply.</Message>
         </ExternalReply>
         <DeclineMeetingReply>
           <Message />
         </DeclineMeetingReply>
         <DeclineEventsForScheduledOOF>false</DeclineEventsForScheduledOOF>
         <DeclineAllEventsForScheduledOOF>false</DeclineAllEventsForScheduledOOF>
         <CreateOOFEvent>false</CreateOOFEvent>
         <AutoDeclineFutureRequestsWhenOOF>true</AutoDeclineFutureRequestsWhenOOF>      </OofSettings>
       <AllowExternalOof>All</AllowExternalOof>
     </GetUserOofSettingsResponse>
   </soap:Body>
 </soap:Envelope>