« Back to Technical Discussions

eventRecord and filter of DateTime type

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Hi, I am trying to filter events by its created property to get events for last 30 minutes.
This is my request:
<configResolveClass inHierarchical="false" classId="eventRecord" cookie="1279228291/d713a131-e5aa-49f7-b626-1fbaa39fda1a">
  <inFilter>
    <ge class="eventRecord" property="created" value="2010-07-15T20:00:00" />
  </inFilter>
</configResolveClass>
 
but this request returns empty response:
 <configResolveClass cookie="1279228291/d713a131-e5aa-49f7-b626-1fbaa39fda1a" response="yes" classId="eventRecord"> <outConfigs> </outConfigs> </configResolveClass>
 
Is it possible using filter over datatime property, or am I getting something wrong ?
 

The query as written should work, I have tried it on my UCS and received results.  Check the time on your UCS, make sure that the time you are using as a filter is not later than the time on the UCS.
 
 
Hi, I am trying to filter events by its created property to get events for last 30 minutes.
This is my request:
<configResolveClass inHierarchical="false" classId="eventRecord" cookie="1279228291/d713a131-e5aa-49f7-b626-1fbaa39fda1a">
  <inFilter>
    <ge class="eventRecord" property="created" value="2010-07-15T20:00:00" />
  </inFilter>
</configResolveClass>
 
but this request returns empty response:
 <configResolveClass cookie="1279228291/d713a131-e5aa-49f7-b626-1fbaa39fda1a" response="yes" classId="eventRecord"> <outConfigs> </outConfigs> </configResolveClass>
 
Is it possible using filter over datatime property, or am I getting something wrong ?