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">>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).