Cisco Cisco 3350 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
207
O F
227
<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="-1" options="2">
<and-list>
<AesMatchMbrCriteria matchClass="AesMobileStationLocation" matchMbr="changedOn"
matchValue="5" operator="4" valueClass="java.lang.Integer"/>
</and-list>
<containList>
<containEl containCl="AesCoverageArea" size="4">
<hierEl val="area1"/><hierEl val="floor1"/>
<hierEl val="building1"/><hierEl val="campus1"/>
</containEl>
</containList>
</AesQueryCriteria>
</ GetStationLocationList>
</SOAP-ENV:Body>
<GetStationLocationList xmlns=” http://cisco.com/mse/location”>
<AesBusinessSession id="18740" mask="-1"/>
<AesQueryCriteria numOfResults="-1" options="2">
<and-list>
<AesMatchMbrCriteria matchClass="AesMobileStationLocation" matchMbr="changedOn"
matchValue="5" operator="4" valueClass="java.lang.Integer"/>
</and-list>
<containList>
<containEl containCl="AesCoverageArea" size="4">
<hierEl val="area1"/><hierEl val="floor1"/>
<hierEl val="building1"/><hierEl val="campus1"/>
</containEl>
</containList>
</AesQueryCriteria>
</ GetStationLocationList>
</SOAP-ENV:Body>
H) Get the full list of mobile station locations updated in last 5 minutes WITHIN a Set of
Floors
AesMatchMbrCriteria.operator = OP_LT_EQ
AesMatchMbrCriteria.matchMbr = AesObject.CHANGED_ON_DELTA
AesMatchMbrCriteria.matchClass = AesMobileStationLocation.CLASSNAME
AesMatchMbrCriteria.matchValue = new Integer(5)
Object[] floor1Hierarchy = new Object[] { “floor1”, “building1”, “campus1” };
Object[] floor2Hierarchy = new Object[] { “floor2”, “building1”, “campus1” };
AesQueryCriteria.addContainer(AesFloor.CLASS_NAME, floor1Hierarchy);
AesQueryCriteria.addContainer(AesFloor.CLASS_NAME, floor2Hierarchy);
AesQueryCriteria.and(AesMatchMbrCriteria)
AesQueryCriteria.numOfResults(ALL_RESULTS)
AesQueryCriteria.options(OPT_FULL)
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="-1" options="2">
<and-list>
<AesMatchMbrCriteria matchClass="AesMobileStationLocation" matchMbr="changedOn"
matchValue="5" operator="4" valueClass="java.lang.Integer"/>
</and-list>
<containList>
<GetStationLocationList xmlns=” http://cisco.com/mse/location”>
<AesBusinessSession id="18740" mask="-1"/>
<AesQueryCriteria numOfResults="-1" options="2">
<and-list>
<AesMatchMbrCriteria matchClass="AesMobileStationLocation" matchMbr="changedOn"
matchValue="5" operator="4" valueClass="java.lang.Integer"/>
</and-list>
<containList>