Cisco Cisco 3365 Mobility Services Engine Guida Dello Sviluppatore
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
105
O F
227
Queries the list of AesMobileStation records from the MSE. The query can be:
Search for Clients with CCX Location service type
Search for Clients by IP address
Search for Clients by Username
Important note: For existing application if there are both ip v4 and v6 addresses then the
ipaddress attribute in the AesMobilestation object will contain the first ipv4 address and the
other Ips will be sent in the EndpointIPAddress element. If there is no IP v4 address (there may
or may not be IPv6 addresses) the ipAddress attribute will be empty. New Applications should
rely only on the EndpointIPAddress element to get the ip address and not use the ipaddress
attribute.
ipaddress attribute in the AesMobilestation object will contain the first ipv4 address and the
other Ips will be sent in the EndpointIPAddress element. If there is no IP v4 address (there may
or may not be IPv6 addresses) the ipAddress attribute will be empty. New Applications should
rely only on the EndpointIPAddress element to get the ip address and not use the ipaddress
attribute.
Result: See below.
Arguments: AesBusinessSession, StationInfoQueryArgs.
7.13.1
SOAP Request
Search for clients with CCX Location Service Type
<soapenv:Envelope xmlns:soapenv="
http://
schemas.xmlsoap.org/soap/envelope/"
xmlns:loc="
http://
cisco.com/mse/location" xmlns:typ="
http://
cisco.com/mse/types">
<soapenv:Header/>
<soapenv:Body>
<loc:GetStationInfoListByArgs>
<loc:StationInfoQueryArgs isCountQuery="false" startIndex="0"
numOfResults="100"><loc:SortColumnCriteria sortColumn="ccxServiceInfos"
isDescending="false"/><loc:CCXServiceInfo serviceType="Location"
serviceLevel="LEVEL_2"/></loc:StationInfoQueryArgs>
<typ:AesBusinessSession id="21464"/>
</loc:GetStationInfoListByArgs>
</soapenv:Body>
</soapenv:Envelope>
Search for client by IP Address
<soapenv:Envelope xmlns:soapenv="
<soapenv:Body>
<loc:GetStationInfoListByArgs>
<loc:StationInfoQueryArgs isCountQuery="false" startIndex="0"
numOfResults="100"><loc:SortColumnCriteria sortColumn="ccxServiceInfos"
isDescending="false"/><loc:CCXServiceInfo serviceType="Location"
serviceLevel="LEVEL_2"/></loc:StationInfoQueryArgs>
<typ:AesBusinessSession id="21464"/>
</loc:GetStationInfoListByArgs>
</soapenv:Body>
</soapenv:Envelope>
Search for client by IP Address
<soapenv:Envelope xmlns:soapenv="
http://
schemas.xmlsoap.org/soap/envelope/"
xmlns:loc="
http://
cisco.com/mse/location" xmlns:typ="
http://
cisco.com/mse/types">
<soapenv:Header/>
<soapenv:Body>
<loc:GetStationInfoListByArgs>
<loc:StationInfoQueryArgs options="0" isCountQuery="false" startIndex="0"
numOfResults="1000" ipAddress="193.1.0.1"><loc:SortColumnCriteria
sortColumn="AesMobileStation.ipAddress" isDescending="true"/></loc:StationInfoQueryArgs>
<typ:AesBusinessSession id="27413"/>
</loc:GetStationInfoListByArgs>
</soapenv:Body>
</soapenv:Envelope>
Search for client by User Name
<soapenv:Envelope xmlns:soapenv="
<soapenv:Body>
<loc:GetStationInfoListByArgs>
<loc:StationInfoQueryArgs options="0" isCountQuery="false" startIndex="0"
numOfResults="1000" ipAddress="193.1.0.1"><loc:SortColumnCriteria
sortColumn="AesMobileStation.ipAddress" isDescending="true"/></loc:StationInfoQueryArgs>
<typ:AesBusinessSession id="27413"/>
</loc:GetStationInfoListByArgs>
</soapenv:Body>
</soapenv:Envelope>
Search for client by User Name
<soapenv:Envelope xmlns:soapenv="
http://
schemas.xmlsoap.org/soap/envelope/"
xmlns:loc="
http://
cisco.com/mse/location" xmlns:typ="
http://
cisco.com/mse/types">
<soapenv:Header/>
<soapenv:Body>
<loc:GetStationInfoListByArgs>
<loc:StationInfoQueryArgs options="0" isCountQuery="false" startIndex="0"
numOfResults="1000" ipAddress="193.1.0.%" userName="%Client%"><loc:SortColumnCriteria
sortColumn="ipAddress" isDescending="false"/></loc:StationInfoQueryArgs>
<soapenv:Body>
<loc:GetStationInfoListByArgs>
<loc:StationInfoQueryArgs options="0" isCountQuery="false" startIndex="0"
numOfResults="1000" ipAddress="193.1.0.%" userName="%Client%"><loc:SortColumnCriteria
sortColumn="ipAddress" isDescending="false"/></loc:StationInfoQueryArgs>