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  
99
  O F  
2 27  
  <Response xmlns="http://cisco.com/mse/location" xmlns:SOAP-
ENV="http://schemas.xmlsoap.org/soap/envelope/"> 
<loc:AesMobileStationLocation changedOn="1286541381516" confidenceFactor="144.0" 
detectingControllers="1.2.3.72,1.2.3.75," firstActiveAt="1286541317313" floorId="39" 
floorWeight="25" macAddress="00:16:44:b1:b4:96" minLastHeardSecs="12" networkStatus="1" 
objectId="1584334" parentId="591" reason="0" sourceTimestamp="1286541381516" x="102.79" 
y="174.12"> 
    <loc:info> 
      <loc:AesMobileStation anchorAddress="0.0.0.0" 
apMacAddress="00:19:a9:78:8f:40" changedOn="1286541381516" eapType="6" 
encryptionCypher="3" ipAddress="0.0.0.0" macAddress="00:16:44:b1:b4:96" 
objectId="1584334" parentId="591" policyManagerState="START" policyType="4" 
portNumber="1" protocol="2" reasonCode="99" securityPolicyStatus="1" 
sourceTimestamp="1286130195015" status="7" switchRef="loc-wlc-04" type="2"/> 
    </loc:info> 
  </loc:AesMobileStationLocation> 
</Response> 
</SOAP-ENV:Body> 
</SOAP-ENV:Envelope> 
7.9 METHOD: GetStationHistory 
Returns  an  AesMobileStationHistory  history  record  currently  stored  in  the  MSE  based  on 
various search criteria. 
With v7.2 onwards, there is also support for partial IP Address search
 
Important note: For existing application(pre-v7.2) if there are both ip v4 and v6 addresses then 
the ipaddress attribute in the AesMobilestation object will contain the first ipv4 address and the 
other Ips will be sent in the EndpointIPAddress element. If there is no IP v4 address (there may 
or may not be IPv6 addresses) the ipAddress attribute will be empty. New Applications should 
rely  only  on  the  EndpointIPAddress  element  to  get  the  ip  address  and  not  use  the  ipaddress 
attribute. 
Result: An AesMobileStationHistory object or null if not found. 
Arguments: AesBusinessSession, AesQueryCriteria
 
7.9.1 
SOAP Request 
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">  
<SOAP-ENV:Body>  
<GetStationHistory xmlns=” http://cisco.com/mse/location”>  
<AesBusinessSession id="10510"/> 
<AesQueryCriteria startIndex="2" numOfResults="3"/>  
<AesQueryCriteria isCountQuery="true">  
<and-list>  
<AesMatchMbrCriteria matchClass="AesMobileStationHistory" matchMbr="macAddress" 
matchValue="00:09:b7:13:aa:96" valueClass="java.lang.String"/>  
</and-list>  
</AesQueryCriteria>  
</GetStationHistory>  
</SOAP-ENV:Body>  
</SOAP-ENV:Envelope>  
7.9.2 
SOAP Response 
7.9.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”>