Time to upgrade! You only have until October 31, 2019 to move to Dynatrace, our all-in-one software intelligence platform. For details, see the Synthetic Upgrade Center and Dynatrace Synthetic documentation.

Viewing tests with maintenance Windows

You can view all the Backbone tests under an account for which maintenance windows have been set through the use of the GetMaintenanceWindows() query. If a recurring maintenance window has been provisioned in the Maintenance windows page in the Synthetic Classic Portal, this query may return a great deal of data. The following is a sample request that uses the GetMaintenanceWindows() query:

<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>
      </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="-888"
                                   createDate="2009-11-04T20:30:25.27"
                                   modifyDate="2012-04-18T06:02:28.463"
                                   monitorStatus="Active">
            <RecurringMaintenanceWindows>
               <RecurringMaintenanceWindow dayOfWeek="SUN"
                                           startTime="01:10:00.0000000-05:00"
                                           endTime="02:20:00.0000000-05:00"/>
               <RecurringMaintenanceWindow dayOfWeek="MON"
                                           startTime="02:25:00.0000000-05:00"
                                           endTime="04:40:00.0000000-05:00"/>
            </RecurringMaintenanceWindows>
         </MaintenanceWindowMonitor>
         <MaintenanceWindowMonitor monitorId="-666"
                                   createDate="2009-06-24T17:02:39.513"
                                   modifyDate="2010-06-01T00:00:00"
                                   monitorStatus="Active">
            <RecurringMaintenanceWindows>
               <RecurringMaintenanceWindow dayOfWeek="SUN"
                                           startTime="01:10:00.0000000-05:00"
                                           endTime="02:20:00.0000000-05:00"/>
               <RecurringMaintenanceWindow dayOfWeek="MON"
                                           startTime="02:25:00.0000000-05:00"
                                           endTime="04:40:00.0000000-05:00"/>
            </RecurringMaintenanceWindows>
         </MaintenanceWindowMonitor>
         <MaintenanceWindowMonitor monitorId="188006"
                                   createDate="2011-02-18T07:09:04.937"
                                   modifyDate="2012-06-04T14:50:04.193"
                                   monitorStatus="Active">
            <OneTimeMaintenaneWindows>
               <OneTimeMaintenanceWindow beginDate="2012-01-27T18:05:00"
                                         endDate="2013-01-26T21:10:00"/>
               <OneTimeMaintenanceWindow beginDate="2012-01-28T21:10:00"
                                         endDate="2013-03-27T22:10:00"/>
            </OneTimeMaintenaneWindows>
            <RecurringMaintenanceWindows>
               <RecurringMaintenanceWindow dayOfWeek="SUN"
                                           startTime="01:10:00.0000000-05:00"
                                           endTime="02:20:00.0000000-05:00"/>
               <RecurringMaintenanceWindow dayOfWeek="MON"
                                           startTime="02:25:00.0000000-05:00"
                                           endTime="04:40:00.0000000-05:00"/>
            </RecurringMaintenanceWindows>
         </MaintenanceWindowMonitor>
       </GetMaintenanceWindowsResponse>
   </soap:Body>
</soap:Envelope>