Cisco Cisco 3350 Mobility Services Engine Developer's Guide

Page of 224
C
ISCO 
MSE
 
API
 
S
PECI FICATI ON 
G
UI DE 
 
C
ONTEXT 
A
W ARE 
S
ERVICE  OF 
MSE,
 
R
ELEASE 
7.4
.
       
P
A G E  
203
  O F  
227  
   </ GetStationLocationList> 
</SOAP-ENV:Body> 
B)  Query to get a list of mobile station locations updated in last 5 minutes only returning 
the first 20 as a page 
AesMatchMbrCriteria.operator = OP_LT_EQ 
AesMatchMbrCriteria.matchMbr = AesObject.CHANGED_ON_DELTA 
AesMatchMbrCriteria.matchClass = AesMobileStationLocation.CLASSNAME 
AesMatchMbrCriteria.matchValue = new Integer(5) 
AesQueryCriteria.and(AesMatchMbrCriteria) 
AesQueryCriteria.numOfResults(20) 
AesQueryCriteria.startIndex(0) 
AesQueryCriteria.options(OPT_FULL) 
Xml Request 
<SOAP-ENV:Body xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> 
     <GetStationLocationList xmlns=” http://cisco.com/mse/location”> 
         <AesBusinessSession id="18740" mask="-1"/> 
 <AesQueryCriteria numOfResults="20"> 
  <and-list> 
 <AesMatchMbrCriteria matchClass="AesMobileStationLocation" matchMbr="changedOn"   
matchValue="300000" operator="1" valueClass="java.lang.Long"/> 
</and-list> 
        </AesQueryCriteria> 
   </ GetStationLocationList> 
</SOAP-ENV:Body> 
And query for the next 20… 
AesQueryCriteria.and(AesMatchMbrCriteria) 
AesQueryCriteria.numOfResults(20) 
AesQueryCriteria.startIndex(20) 
AesQueryCriteria.options(OPT_FULL) 
Xml Request 
<SOAP-ENV:Body xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> 
     <GetStationLocationList xmlns=” http://cisco.com/mse/location”> 
         <AesBusinessSession id="18740" mask="-1"/> 
 <AesQueryCriteria numOfResults="20" startIndex="20"> 
  <and-list> 
 <AesMatchMbrCriteria matchClass="AesMobileStationLocation" matchMbr="changedOn"   
matchValue="300000" operator="1" valueClass="java.lang.Long"/> 
</and-list> 
        </AesQueryCriteria> 
   </ GetStationLocationList>