Cisco Cisco 3365 Mobility Services Engine Developer's Guide
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
153
O F
227
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>
<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.3 METHOD: GetDeviceByUserName
Gets the details of specific Wired Client by passing username.
Result: Response containing Device object.
Arguments: UserName as an attribute and AesBusinessSession as an element.
11.3.1
SOAP Request
<SOAP-ENV:Body xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<GetDeviceByUserName userName="admin" xmlns="http://cisco.com/mse/location">
<AesBusinessSession id="8256" mask="-1"/>
</GetDeviceByUserName>
</SOAP-ENV:Body>
<GetDeviceByUserName userName="admin" xmlns="http://cisco.com/mse/location">
<AesBusinessSession id="8256" mask="-1"/>
</GetDeviceByUserName>
</SOAP-ENV:Body>
11.3.2
SOAP Response
11.3.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>
<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.4 METHOD: GetDeviceByMac
Gets the details of specific Wired Client by passing macAddess.
Result: Response containing Device object.
Arguments: MacAddress as an attribute and AesBusinessSession as an element.