Changes

Jump to navigation Jump to search
1,198 bytes added ,  12:54, 10 September 2014
no edit summary
{{Api_Method_Spec|
Description=The AddEvent is a method to send a request with personalized information to be used by the BI team. This information is responsible to track any actions in the client app that use the GVP.The data record on the GVP is completely personalized and can be used for Player, Detail Page, Rent button, etc.The information is recorded in a Mongo Data Base, so it has a great power and scalable resources to storage all information.
To visualize the data, a tool will be developed The Object send to access on the MIB ToolsEvent service three parameters: Token, graphics, summarize, statistics MediaInfo and more. Predict to 2.4.6 GVP versionEventData.
Object sent to the Event service has three parameters: Token, MediaInfo and EventData. - The Token can be use logged or anonymoususer.  - The mediaInfo parameter is a cryptograph info that can be get got in all any methods that return the URL Mediamedia url. ( see PlaybackService -> [[GetMediaUrl]] ). By default the value is a empty string.: "MediaInfo": "eyJNb3ZpZUlkIjozNTkzNiwiTWVkaWFJZCI6 … XlsaXN0SWQiOjAsIk1lZGlhVHlwZSI6MSwiRHVyYXRpb24iOjU4MjB9",: This encrypted string has: :: - MovieID:: - MediaID:: - AccessReason:: - SubscriptionID:: - PlaylistID:: - MediaType:: - Duration. - The eventData is the object represented by the [[AnalyticsEventItem]] and has all information about the event that wants to be storage.  NOTE: To register the User information (context) in each event, a parameter Context should be set to true inside the AnalyticsEventItem. To don't get the information from the Token, the parameter should be set to false. By default, the context parameter is true, it means that by default all values will be obtained from the token. To visualize all data recorded, a tool will be developed to access on the MIB Tools, graphics, summarize, statistics and more. Predict to 2.4.6 GVP version.
|Parameters=
|ParamType=[[AnalyticsEventItem]]
|ParamRequired=required
|ParamDescription=The eventData parameter is an Object from AnalyticsEvenItem [[AnalyticsEventItem]] object type and represent a set of data to register the event in the Mongo data base.
: e.g.
:: {
|ParamType=String
|ParamRequired=optional
|ParamDescription=This parameter can be found in the [[GetMediaUrl]] and has all information about the Movie. Is passed, it will be used to assign the eventData with the movie. The default value is empty.: e.g.:: "MediaInfo": "eyJNb3ZpZUlkIjozNTkzNiwiTWVkaWFJZCI6 … XlsaXN0SWQiOjAsIk1lZGlhVHlwZSI6MSwiRHVyYXRpb24iOjU4MjB9"
}}
 
 
|Returns=
Returns a JSON object containing the information if the event is registered on server.
|Exceptions=
None* [[InvalidEventDataException]]
|Cache=
! 2.4
{{!}}
{{!}} Ricardo CalvoRafael Landim
|SeeAlso=
* [[AddEventBatch]]
* [[GetMediaUrl]]
* [[AnalyticsEventItem]]
}}
editor
725

edits

Navigation menu