getRules

Gets the downtime rules for the specified configuration.

Applies to Clouds and Integration Appliances.

Parameters:

projectName
The name of the specified project.
Version
The version number for the specified project.
configName
The configuration name for the specified project.

Together projectName, version, and configName uniquely identify a configuration.

Returns:
The downtime rules for the specified configuration.

Examples:

The following code is an example of a SOAP request to get rules.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:dep="http://www.approuter.com/schemas/2008/1/deployment">
 <soapenv:Header>
  <dep:sessionId>8FDBC8ED7A014272714D23D14794473A</dep:sessionId>
 </soapenv:Header>
 <soapenv:Body>
  <dep:getRules>
   <dep:projectName>GenericProject_1_Cloud</dep:projectName>
   <dep:version>1.0</dep:version>
   <dep:configName>Default</dep:configName>
  </dep:getRules>
 </soapenv:Body>
</soapenv:Envelope>
The following example is the SOAP response to the request.
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
 <S:Body>
  <ns2:getRulesResponse xmlns:ns2="http://www.approuter.com/
  schemas/2008/1/deployment" xmlns:ns3="http://www.approuter.com/schemas/2008/1/
  deployment/types" xmlns:ns4="http://www.approuter.com/schema/router/1000/
  security/03" xmlns:ns5="http://www.approuter.com/schemas/2008/1/util/types">
   <ns2:rules>
    <ns3:configUrl>config-url://GenericProject_1_Cloud:1.0:Default</
    ns3:configUrl>
    <ns3:downtimeType>stop</ns3:downtimeType>
    <ns3:envId>
     <guidString>A7FFE81243A1E319FCAED0DFABF9470B</guidString>
    </ns3:envId>
    <ns3:isActive>true</ns3:isActive>
    <ns3:repeatInterval>0</ns3:repeatInterval>
    <ns3:repeatType>none</ns3:repeatType>
    <ns3:repeatingRule>false</ns3:repeatingRule>
    <ns3:restartDate>2010-04-17T08:00:00.066Z</ns3:restartDate>
    <ns3:ruleId>2</ns3:ruleId>
    <ns3:stopDate>2010-04-17T07:00:00.066Z</ns3:stopDate>
   </ns2:rules>
  </ns2:getRulesResponse>
 </S:Body>
</S:Envelope>