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  
119
  O F  
227  
  </Response> 
 </SOAP-ENV:Body>  
</SOAP-ENV:Envelope> 
 
8.8 METHOD: GetTagHistory 
Returns  an  AesTagHistory  history  record  currently  stored  in  the  MSE  based  on  various  search 
criteria. 
Result: An AesTagHistory object or null if not found. 
Arguments: AesBusinessSession, AesQuerycriteria 
8.8.1 
SOAP Request 
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">  
<SOAP-ENV:Body> 
<GetTagHistory xmlns="http://cisco.com/mse/location"  
                                            xmlns:typ="http://cisco.com/mse/types"> 
  <typ:AesBusinessSession id="28597"/> 
  <typ:AesQueryCriteria startIndex="2" numOfResults="3"> 
    <typ:and-list> 
      <typ:AesMatchMbrCriteria matchClass="AesTag" matchMbr="macAddress" 
matchValue="00:0c:cc:7a:f0:99" valueClass="java.lang.String" _operator="0"/> 
    </typ:and-list> 
  </typ:AesQueryCriteria> 
</GetTagHistory> 
</SOAP-ENV:Body>  
</SOAP-ENV:Envelope> 
8.8.2 
SOAP Response 
8.8.2.1 Success 
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">  
<SOAP-ENV:Body> 
<Response xmlns="http://cisco.com/mse/location"  
           xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> 
  <AesTagHistory changedOn="1302692900604" from="1299725053944"  
           macAddress="00:0c:cc:7a:f0:99" objectId="17" to="1302692900601"> 
    <statsList> 
      <AesBaseStats bytesReceived="734439407616" changedOn="1302439782376"  
               macAddress="00:0c:cc:7a:f0:99" objectId="407617"  
               packetsReceived="12884901888" parentId="17"   
               sourceTimestamp="1302439548802" type="1"/> 
      <AesBaseStats bytesReceived="1224065679360" changedOn="1302440992558"  
               macAddress="00:0c:cc:7a:f0:99" objectId="407658"  
               packetsReceived="21474836480" parentId="17"  
               sourceTimestamp="1302440749484" type="1"/> 
      <AesBaseStats bytesReceived="244813135872" changedOn="1302442922882"  
               macAddress="00:0c:cc:7a:f0:99" objectId="410703"  
               packetsReceived="4294967296" parentId="17" sourceTimestamp="1302442852209"  
               type="1"/> 
    </statsList> 
    <infoList> 
      <AesTag batteryStatus="2" changedOn="1299753385627" lastBeaconSeqNum="2783"  
               lastBeaconTime="0" macAddress="00:0c:cc:7a:f0:99" objectId="3998"  
               parentId="17" sourceTimestamp="1299749724634"> 
        <batteryInfo> 
          <AesBatteryInfo lastReceivedSeqNum="2783"  
                  lastReceivedTime="1299749722578" percentRemaining="80" tolerance="20"/> 
        </batteryInfo> 
        <vendorData>