Viewing recurring maintenance Windows

You can restrict the output of the GetMaintenanceWindows() query to recurring maintenance windows only:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
                  xmlns:prov="http://www.gomeznetworks.com/schemas/provisioning">
   <soapenv:Header/>
   <soapenv:Body>
      <prov:GetMaintenanceWindowsRequest>
         <prov:Credentials>
            <prov:UserName>testuser</prov:UserName>
            <prov:Password>testpassword</prov:Password>
         </prov:Credentials>
         <!--Optional:-->
         <prov:MaintenanceWindowFilter>
            <prov:MaintenanceWindowType>RECURRING</prov:MaintenanceWindowType>
         </prov:MaintenanceWindowFilter>
      </prov:GetMaintenanceWindowsRequest>
   </soapenv:Body>
</soapenv:Envelope>

The following are the results for this query:

<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:Body>
      <GetMaintenanceWindowsResponse
           xmlns="http://www.gomeznetworks.com/schemas/provisioning">
         <ResponseStatus>SUCCESS</ResponseStatus>
         <MaintenanceWindowMonitor monitorId="326334"
                                   createDate="2012-10-05T14:46:37.33"
                                   modifyDate="2012-10-05T14:53:09.127"
                                   monitorStatus="Inactive">
            <RecurringMaintenanceWindows>
               <RecurringMaintenanceWindow dayOfWeek="SUN"
                                           startTime="03:00:00.0000000-05:00"
                                           endTime="04:00:00.0000000-05:00"/>
            </RecurringMaintenanceWindows>
         </MaintenanceWindowMonitor>
         <MaintenanceWindowMonitor monitorId="327989"
                                   createDate="2012-11-06T19:32:12.83"
                                   modifyDate="2012-11-07T00:05:00.64"
                                   monitorStatus="Inactive">
            <RecurringMaintenanceWindows>
               <RecurringMaintenanceWindow dayOfWeek="SAT"
                                           startTime="21:50:00.0000000-05:00"
                                           endTime="22:50:00.0000000-05:00"/>
            </RecurringMaintenanceWindows>
         </MaintenanceWindowMonitor>
         <MaintenanceWindowMonitor monitorId="327991"
                                   createDate="2012-11-06T19:38:53.5"
                                   modifyDate="2012-11-07T00:05:00.64"
                                   monitorStatus="Inactive">
            <RecurringMaintenanceWindows>
               <RecurringMaintenanceWindow dayOfWeek="SAT"
                                           startTime="21:50:00.0000000-05:00"
                                           endTime="22:50:00.0000000-05:00"/>
            </RecurringMaintenanceWindows>
         </MaintenanceWindowMonitor>
       <MaintenanceWindowMonitor monitorId="328082"
                                 createDate="2012-11-07T18:24:48.663"
                                 modifyDate="2012-11-07T18:24:48.83" monitorStatus="Active">
            <RecurringMaintenanceWindows>
               <RecurringMaintenanceWindow dayOfWeek="MON"
                                           startTime="03:20:00.0000000-05:00"
                                           endTime="05:20:00.0000000-05:00"/>
               <RecurringMaintenanceWindow dayOfWeek="TUE"
                                           startTime="03:20:00.0000000-05:00"
                                           endTime="05:20:00.0000000-05:00"/>
               <RecurringMaintenanceWindow dayOfWeek="WED"
                                           startTime="03:20:00.0000000-05:00"
                                           endTime="05:20:00.0000000-05:00"/>
               <RecurringMaintenanceWindow dayOfWeek="SAT"
                                           startTime="21:50:00.0000000-05:00"
                                           endTime="22:50:00.0000000-05:00"/>
            </RecurringMaintenanceWindows>
         </MaintenanceWindowMonitor>
      </GetMaintenanceWindowsResponse>
   </soap:Body>
</soap:Envelope>

Because recurring maintenance windows can be configured through the Maintenance windows page in the Dynatrace Portal, this query is likely to return a large amount of data. There is currently no way to exclude recurring maintenance windows from the output of this query. There is also no method to determine which of these maintenance windows were created through the Maintenance windows page.