Cisco Cisco MediaSense Release 9.1(1) Guía Del Desarrollador

Descargar
Página de 147
Event
Example:
The following example shows a user-defined tag that is time-bound (the tagOffset field is present). The date the tag was
 to see the date/time in a readable
format. The offset represents the number of milliseconds from the start of the session that the tag represents. In this case it
represents five minutes.
Note
Cisco MediaSense does not allow the use of tagOffset 0 (zero value) for a USER_DEFINED time-bound
tag. When using a time-bound tag to start a recording, use a tagOffset of at least 1 millisecond.
{
    
,
"eventType"
"TAG_EVENT"
    
,
"eventAction"
"UPDATED"
    
:  {
"eventBody"
                           
,
"sessionId"
"1234abcd5678efgh90xyz"
                           
,
"tagName"
"Customer response"
                           
,
"tagType"
"USER_DEFINED"
                           
: 1284074053,
"tagCreateDate"
                           
: 300000
"tagOffset"
                  }
}
The following example shows a system-defined tag that was added to a track within a session. The track is identified by the
trackNumber.
{
    
,
"eventType"
"TAG_EVENT"
    
,
"eventAction"
"ADDED"
    
: {
"eventBody"
        
,
"sessionId"
"57130d87d73f41"
        
: 1309302169848,
"tagCreateDate"
        
,
"tagName"
"TrackInactive"
        
: 11203,
"tagOffset"
        
,
"tagType"
"SYSTEM_DEFINED"
        
: 1
"trackNumber"
    }
}
:
Availability
Available since API Version 1.0. 
Release:
8.5(1)
Notes:
The following parameters were introduced in Release 8.5(3), Version 1.2:
trackNumber (Optional field. If present, indicates that this tag is applicable to a track in the session,
identified by this trackNumber)
Related APIs: