Cisco Cisco 3350 Mobility Services Engine Developer's Guide

Page of 224
                   
C
ISCO 
MSE
 
API
 
S
PECI FICATI ON 
G
UIDE 
 
C
ONTEXT 
A
W ARE 
S
ERVICE OF 
MSE,
 
R
EL EASE 
7.4
.
                                   
P
A G E  
154
  O F  
227  
 
11.4.1 
SOAP Request 
<SOAP-ENV:Body xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> 
<GetDeviceByMac MacAddress="00:11:22:33:44:77" xmlns="http://cisco.com/mse/location"> 
<AesBusinessSession id="14766" mask="-1"/> 
</GetDeviceByMac> 
</SOAP-ENV:Body> 
11.4.2 
SOAP Response 
11.4.2.1  Success 
<SOAP-ENV:Body xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> 
<Response xmlns="http://cisco.com/mse/location"> 
<Device changedOn="1232346273483" identity="CISCODEVICE002" objectId="1" parentId="2" 
serialNumber="CISCO12345678" type="5" udi="UniqueDI2"> 
<location> 
<Location/> 
</location> 
<epInterfaceList> 
<WiredInterface changedOn="1232346273484" ipAddress="2.3.4.5" 
macAddress="00:11:22:33:44:77" objectId="1" parentId="1" type="1" 
username802Dot1x="admin"/> 
<WiredInterface changedOn="1232346273484" ipAddress="2.3.4.6" 
macAddress="00:11:22:33:44:99" objectId="2" parentId="1" type="1" 
username802Dot1x="admin2"/> 
</epInterfaceList> 
</Device> 
</Response> 
</SOAP-ENV:Body>
11.5 METHOD: GetDeviceBySerialNumber 
Gets the details of specific Wired Client by passing SerialNumber. 
Result: Response containing Device object. 
Arguments: SerialNumber as an attribute and AesBusinessSession as an element .
 
11.5.1 
SOAP Request 
<SOAP-ENV:Body xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> 
<GetDeviceBySerialNumber SerialNumber=" CISCO12345678" 
xmlns="http://cisco.com/mse/location"> 
<AesBusinessSession id="14766" mask="-1"/> 
</GetDeviceBySerialNumber></SOAP-ENV:Body>