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
101
O F
227
7.10 METHOD: AddStationAssetInfo
Adds an Asset info with predefined station macAddress to the MSE. The exisiting Asset
information is overwritten.
information is overwritten.
Result: An AesResult object specifies the success or failure of the operation.
Arguments: AesBusinessSession,
asset
object containing the information
7.10.1
SOAP Request
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAP-ENV:Body>
<AddStationAssetInfo macAddress="00:40:96:b1:be:e3"
xmlns="http://cisco.com/mse/location" xmlns:typ="http://cisco.com/mse/types">
<typ:AesBusinessSession id="5760"/>
<asset assetCategory="Test Clients" assetGroup="Lab" assetName="Cisco T61P"/>
<asset assetCategory="Test Clients" assetGroup="Lab" assetName="Cisco T61P"/>
</AddStationAssetInfo>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
</SOAP-ENV:Envelope>
7.10.2
SOAP Response
7.10.2.1
Success
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<Response xmlns=” http://cisco.com/mse/location”>
<AesResult result="true" resultArg="162" resultArgClass="java.lang.Long"/>
</Response>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<SOAP-ENV:Body>
<Response xmlns=” http://cisco.com/mse/location”>
<AesResult result="true" resultArg="162" resultArgClass="java.lang.Long"/>
</Response>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
7.11 METHOD: GetStationHistoryListByArgs
Queries the list of AesMobileStationHistory history records currently stored in the MSE. The
query can be:
query can be:
Count Query
—
Return the number of mobile station history records in the MSE. The
user can either set isCountQuery=true or false. If the isCountQuery=true, the user will
only get the total count of MobileStationHistory records. In such a case, the
numOfResults field will not be required. If isCountQuery=false, then the user will have
to specify a value for the numOfResults field which should be in the limit of 1 to 100.
only get the total count of MobileStationHistory records. In such a case, the
numOfResults field will not be required. If isCountQuery=false, then the user will have
to specify a value for the numOfResults field which should be in the limit of 1 to 100.
All other queries (floorId, macAddress, numOfResults, fromTimeMillis, toTimeMillis,
startIndex)
startIndex)
—
The list of mobile station history records and their content, constrained
based on the query content. If startIndex field is not set, it will return the first x
(numOfResults value) results found in the MSE. The remaining fields are optional.
(numOfResults value) results found in the MSE. The remaining fields are optional.
Result: See below.
Arguments: AesBusinessSession, AesHistoryQueryArgs.