Cisco Cisco 3350 Mobility Services Engine Developer's Guide

Page of 224
                   
C
ISCO 
MSE
 
API
 
S
PECI FICATI ON 
G
UIDE 
 
C
ONTEXT 
A
W ARE 
S
ERVICE OF 
MSE,
 
R
EL EASE 
7.4
.
                                   
P
A G E  
204
  O F  
227  
 
</SOAP-ENV:Body> 
 
C)  Query to get a list of mobile station locations updated in last 5 minutes only returning 
the first 20 as a page, with only location data, not the full information object. 
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_MIN
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" options="2"> 
  <and-list> 
 <AesMatchMbrCriteria matchClass="AesMobileStationLocation" matchMbr="changedOn"   
matchValue="300000" valueClass="java.lang.Long"/> 
</and-list> 
        </AesQueryCriteria> 
   </ GetStationLocationList> 
</SOAP-ENV:Body> 
 
D)  Get a specific mobile station with MAC Address “00:01:02:03:04:05” 
AesMatchMbrCriteria.operator = OP_EQ 
AesMatchMbrCriteria.matchMbr = AesMobileStation.MAC_ADDRESS 
AesMatchMbrCriteria.matchClass = AesMobileStation.CLASSNAME 
AesMatchMbrCriteria.matchValue = “00:01:02:03:04:05” 
AesQueryCriteria.and(AesMatchMbrCriteria)