Cisco Cisco MediaSense Release 9.0(1) Developer's Guide

Page of 136
Related Error
Codes:
Go to the 
Events
Triggered:
None
 
Availability:
Available since API Version 1.0. 
Modified in API Version 1.2 (See Notes below.) 
Modified in API Version 1.4 (See Notes below.)
Release:
8.5(1)
Notes and
Examples:
The following changes were introduced in Release 9.0(1), Version 1.4:
Introduced a new parameter in the Track (refer to Parameter Description table for more info):
codec
The following changes were introduced in Release 8.5(3), Version 1.2:
Parameters introduced:
callControllerIP
callControllerType
ccid
minSessionStartDate
maxSessionStartDate
A track can now have tags. The following SYSTEM_DEFINED tagName enumeration values are
available at the track level:
TrackActive
TrackInactive
The response for this API depends on the query--all parameters may not be available in each response. For
example, active sessions do not have a sessionDuration, downloadUrl, and other parameters. Similarly, the
httpUrl is only available if the session is converted.
Examples for getAllActiveSessions
.
Example 1
To get all active sessions in the last 2 hours ending at 26 Jul 2012 20:45:40 GMT (i.e., from 18:45:40 to 20:45:40):
HTTPS GET: 
Headers:
JSESSIONID: <the jsessionId received from a previous 
 request>
Example 2
To get the first ten active sessions between 26 Jul 2012 18:45:40 GMT and 26 Jul 2012 20:45:40 GMT (2 hour time window):
HTTPS GET: 
Headers:
JSESSIONID: <the jsessionId received from a previous 
 request>
getAllPrunedSessions
getAllPrunedSessions
 
90