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  
115
  O F  
227  
 
<AesChokepointEncounter changedOn="1188496684347" 
chokepointMac="00:0c:cc:60:13:a3" index="0" isActive="false" isPerimeter="NON_PERIMETER" 
objectId="46" parentId="6" timestamp="1188495886545"/> 
      </chokepointEncounterList> 
</AesTag> 
</info> 
</AesTagLocation> 
 
</Response> 
   </SOAP-ENV:Body> 
</SOAP-ENV:Envelope> 
 
8.6 METHOD: GetTagLocationListByArgs 
Queries the list of Aes
Tag
Location location records currently stored in the MSE. The query can 
be: 
 
Count  Query
Return  the  number  of  mobile  station  location  records  in  the  MSE.  The 
user  can either set isCountQuery=true or false. If the isCountQuery=true, the user will 
only  get  the  total  count  of  MobileStation  location  records.  In  such  a  case,  the 
numOfResults field will not be required. If isCountQuery=false, then the user will have 
to specify a value for the numOfResults field which should be in the limit of 1 to 100. 
 
All other queries (floorId, numOfResults, fromTimeMillis, toTimeMillis, startIndex)
The 
list of mobile station location records and their content, constrained based on the query 
content. If startIndex field is not set, it will return the first x (numOfResults value) results 
found in the MSE. The remaining fields are optional. 
Result: See below. 
Arguments: AesBusinessSession, 
AesTagQueryArgs
8.6.1 
SOAP Request 
<SOAP-ENV:Envelope  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> 
<SOAP-ENV:Body> 
<GetTagLocationListByArgs xmlns="http://cisco.com/mse/location" 
xmlns:typ="http://cisco.com/mse/types"> 
  <typ:AesBusinessSession id="5760"/> 
  <AesTagQueryArgs fromTimeMillis="1086483888360" toTimeMillis="1286544136425" 
isCountQuery="false" numOfResults="10"> 
    <sortCriteriaList> 
      <typ: SortColumnCriteria isDescending="true" sortColumn="changedOn"/> 
    </sortCriteriaList> 
    <floorIdList> 
      <floorId>11</floorId> 
    </floorIdList> 
  </AesTagQueryArgs> 
</GetTagLocationListByArgs>  
</SOAP-ENV:Body> 
</SOAP-ENV:Envelope>