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  
127
  O F  
227  
8.12.1 
Count Query: 
8.12.1.1  SOAP Request 
 
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> 
   <SOAP-ENV:Body> 
     <GetTagInfoListForTelemetry xmlns=” http://cisco.com/mse/location”> 
       <AesBusinessSession id="17768" mask="-1"/> 
       <AesQueryCriteria isCountQuery="true" options="1"> 
        <and-list> 
           <AesMatchMbrCriteria matchClass="AesTag" matchMbr="changedOn" 
matchValue="1169727771043" operator="2" valueClass="java.lang.Long"/> 
        </and-list> 
       </AesQueryCriteria> 
     </GetTagInfoListForTelemetry> 
  </SOAP-ENV:Body> 
</SOAP-ENV:Envelope> 
 
8.12.1.2  SOAP Response 
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> 
  <SOAP-ENV:Body> 
    <Response xmlns=” http://cisco.com/mse/location”> 
      <AesResult result="true" resultArg="5" resultArgClass="java.lang.Integer"/>    
    </Response> 
  </SOAP-ENV:Body> 
</SOAP-ENV:Envelope> 
 
8.12.2 
Tag Info Query 
8.12.2.1  SOAP Request 
<SOAP-ENV:Body xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> 
   <GetTagInfoListForTelemetry xmlns=” http://cisco.com/mse/location”> 
      <AesBusinessSession id="31111" mask="-1"/> 
      <AesQueryCriteria numOfResults="20" options="1"> 
        <and-list> 
            <AesMatchMbrCriteria matchClass="AesTag" matchMbr="changedOn" 
matchValue="1170642751523" operator="2" valueClass="java.lang.Long"/> 
        </and-list> 
        <sortCriteria> 
            <AesSortCriteria isDescending="true" sortColumns="AesTag.macAddress,"/> 
        </sortCriteria> 
      </AesQueryCriteria> 
   </GetTagInfoListForTelemetry> 
</SOAP-ENV:Body> 
8.12.2.2  SOAP Response 
<SOAP-ENV:Body xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> 
 <Response xmlns=” http://cisco.com/mse/location”> 
   <AesTag  changedOn="1170728991416"  lastReported="43"  macAddress="00:12:b8:00:20:52" 
objectId="13" switchRef="anto-wlc-lab"> 
     <batteryInfo> 
        <AesBatteryInfo  batteryAge="2147483647"  daysRemaining="-1"  percentRemaining="90" 
tolerance="30"/> 
     </batteryInfo> 
   </AesTag>