Highlighted
askmike1 Absent Member.
Absent Member.
425 views

SOAP - Searching for Incidents between dates

I could be going about this wrong, but I am trying to retireve SM Incidents between two dates. So for instance I have the following which successfully gets Incidents opened > 2014-01-01....

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://schemas.hp.com/SM/7" xmlns:com="http://schemas.hp.com/SM/7/Common" xmlns:xm="http://www.w3.org/2005/05/xmlmime">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:RetrieveIncidentMWAREKeysListRequest ignoreEmptyElements="true" count="5">
         <ns:model>
            <ns:keys></ns:keys>
            <ns:instance>
               <ns:OpenTime type="DateTime">&gt;2014-01-01</ns:OpenTime>
            </ns:instance>
            <ns:messages></ns:messages>
         </ns:model>
      </ns:RetrieveIncidentMWAREKeysListRequest>
   </soapenv:Body>
</soapenv:Envelope>

 ... how would I go about getting Incidents > 2014-01-01 but also < 2014-01-07? (I've tried a couple of different ways without success).

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.