Cisco Cisco 3350 Mobility Services Engine Guide Du Développeur

Page de 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  
125
  O F  
227
<AesVendorData changedOn="1251197411893" data="0,0,0,0," 
lastReceivedTime="1251197410052" objectId="3" parentId="3" vendorId="3276"/> 
</vendorData> 
<telemetryList> 
<AesTelemetry changedOn="1251197411893" 
lastReceivedTime="1251197410052" 
measurementClass="com.aes.datamodel.location.ctx.
AesDefaultTelemMeasurement" 
objectId="5" parentId="3" type="MOTIONPROB"> 
<
AesDefaultTelemMeasurement/> 
</AesTelemetry> 
</telemetryList> 
<chokepointEncounterList> 
<AesChokepointEncounter changedOn="1251197411893" 
chokepointMac="00:0c:cc:60:00:00" index="0" isPerimeter="PERIMETER" objectId="1" 
parentId="3" timestamp="1251197410052"/> 
</chokepointEncounterList> 
</AesTag> 
</info> 
</AesTagLocation> 
    </locationList> 
  </AesTagHistory> 
</Response> 
</SOAP-ENV:Body> 
</SOAP-ENV: Envelope> 
8.10 METHOD: AddTagAssetInfo 
Adds  an  Asset  info  with  predefined 
Tag
  macAddress  to  the  MSE.  Existing  AssetInfo  if  any  is 
overwritten. 
Result: An AesResult object specifies the success or failure of the operation. 
Arguments: AesBusinessSession, 
asset
 object containing the information 
8.10.1 
SOAP Request 
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> 
   <SOAP-ENV:Body> 
<AddTagAssetInfo macAddress="00:40:96:b1:be:e3" 
xmlns="http://cisco.com/mse/location" xmlns:typ="http://cisco.com/mse/types"> 
  <typ:AesBusinessSession id="5760"/> 
  <asset assetCategory="Test Clients" assetGroup="Lab" assetName="Cisco T61P"/> 
</AddTagAssetInfo>  
</SOAP-ENV:Body> 
</SOAP-ENV:Envelope> 
8.10.2 
SOAP Response 
8.10.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”> 
<AesResult result="true" resultArg="162" resultArgClass="java.lang.Long"/> 
</Response> 
  </SOAP-ENV:Body> 
</SOAP-ENV:Envelope> 
8.11 METHOD: ModifyTag 
Modifies the tag information.