QueryByExpirationDate [element Monitorfilter]

If present, this element restricts GetTests() output by test expiration date. Multiple instances of this element are permitted so that both upper and lower bounds can be set.

Derived by

Type DateFilterType

Attributes

Name Type Required? Default Description
dateQueryType ExpDateQueryType Yes The name of the operator used in a date filter.
queryDate dateTime Yes, unless dateQueryType is set to NoDate. The date against which a particular date in a test or script is compared when the filter is applied.

Content model

Always empty

Referenced by

Examples

<prov:GetTestsRequest
   xmlns:prov="http://www.gomeznetworks.com/schemas/provisioning">
   <prov:Credentials>
      <prov:UserName>erics</prov:UserName>
      <prov:Password>erics</prov:Password>
   </prov:Credentials>
   <!--Optional:-->
   <prov:MonitorFilter>
      <prov:QueryByExpirationDate dateQueryType="GreaterThan"
         queryDate="2012-08-05T10:17:12"/>
      <prov:QueryByExpirationDate dateQueryType="LessThanOrEqualTo"
         queryDate="2012-08-10T10:17:12"/>
   </prov:MonitorFilter>
</prov:GetTestsRequest>
<prov:GetTestsRequest
   xmlns:prov="http://www.gomeznetworks.com/schemas/provisioning">
   <prov:Credentials>
      <prov:UserName>erics</prov:UserName>
      <prov:Password>erics</prov:Password>
   </prov:Credentials>
   <!--Optional:-->
   <prov:MonitorFilter>
      <prov:QueryByExpirationDate dateQueryType="NoDate"/>
   </prov:MonitorFilter>
</prov:GetTestsRequest>