Cisco Cisco 3365 Mobility Services Engine Guide Du Développeur
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
206
O F
227
AesMatchMbrCriteria.matchClass = AesMobileStation.CLASSNAME
AesMatchMbrCriteria.matchValue = “eng-“
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="AesMobileStationS" matchMbr="asset" matchValue="eng-"
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="AesMobileStationS" matchMbr="asset" matchValue="eng-"
operator="5" valueClass="java.lang.String"/>
</and-list>
</AesQueryCriteria>
</ GetStationLocationList>
</SOAP-ENV:Body>
G) Get the full list of mobile station locations updated in last 5 minutes WITHIN A
PARTICULAR COVERAGE AREA
AesMatchMbrCriteria.operator = OP_LT_EQ
AesMatchMbrCriteria.matchMbr = AesObject.CHANGED_ON_DELTA
AesMatchMbrCriteria.matchClass = AesMobileStationLocation.CLASSNAME
AesMatchMbrCriteria.matchValue = new Integer(5)
Object[] area1Hierarchy = new Object[] { “area1”, “floor1”, “building1”, “campus1” };
AesQueryCriteria.addContainer(AesCoverageArea.CLASS_NAME, area1Hierarchy);
AesQueryCriteria.and(AesMatchMbrCriteria)
AesQueryCriteria.numOfResults(ALL_RESULTS)
AesQueryCriteria.options(OPT_FULL)
Xml Request