Cisco Cisco 3365 Mobility Services Engine Guide Du Développeur
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
205
O F
227
AesQueryCriteria.numOfResults(ALL_RESULTS)
AesQueryCriteria.options(OPT_MIN)
Xml Request
<SOAP-ENV:Body xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<GetStationLocationList xmlns=” http://cisco.com/mse/location”>
<AesBusinessSession id="18740" mask="-1"/>
<AesQueryCriteria numOfResults="20" options="2">
<and-list>
<AesMatchMbrCriteria matchClass="AesMobileStationLocation" matchMbr="macAddress"
matchValue="00:01:02:03:04:05" valueClass="java.lang.String"/>
</and-list>
</AesQueryCriteria>
</ GetStationLocationList>
</SOAP-ENV:Body>
<GetStationLocationList xmlns=” http://cisco.com/mse/location”>
<AesBusinessSession id="18740" mask="-1"/>
<AesQueryCriteria numOfResults="20" options="2">
<and-list>
<AesMatchMbrCriteria matchClass="AesMobileStationLocation" matchMbr="macAddress"
matchValue="00:01:02:03:04:05" valueClass="java.lang.String"/>
</and-list>
</AesQueryCriteria>
</ GetStationLocationList>
</SOAP-ENV:Body>
E) Get the full list of mobile stations with MAC Address prefix “00:01”
AesMatchMbrCriteria.operator = OP_LIKE
AesMatchMbrCriteria.matchMbr = AesMobileStation.MAC_ADDRESS
AesMatchMbrCriteria.matchClass = AesMobileStation.CLASSNAME
AesMatchMbrCriteria.matchValue = “00:01”
AesQueryCriteria.and(AesMatchMbrCriteria)
AesQueryCriteria.numOfResults(ALL_RESULTS)
AesQueryCriteria.options(OPT_MIN)
Xml Request
<SOAP-ENV:Body xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<GetStationLocationList xmlns=” http://cisco.com/mse/location”>
<AesBusinessSession id="18740" mask="-1"/>
<AesQueryCriteria numOfResults="20" options="2">
<and-list>
<AesMatchMbrCriteria matchClass="AesMobileStationLocation" matchMbr="macAddress"
matchValue="00:01" operator="5" valueClass="java.lang.String"/>
</and-list>
</AesQueryCriteria>
</ GetStationLocationList>
</SOAP-ENV:Body>
<GetStationLocationList xmlns=” http://cisco.com/mse/location”>
<AesBusinessSession id="18740" mask="-1"/>
<AesQueryCriteria numOfResults="20" options="2">
<and-list>
<AesMatchMbrCriteria matchClass="AesMobileStationLocation" matchMbr="macAddress"
matchValue="00:01" operator="5" valueClass="java.lang.String"/>
</and-list>
</AesQueryCriteria>
</ GetStationLocationList>
</SOAP-ENV:Body>
F) Get the full list of mobile stations with asset category prefix “eng-”
AesMatchMbrCriteria.operator = OP_LIKE
AesMatchMbrCriteria.matchMbr = AesMobileStation.ASSET_CATEGORY