Difference between revisions of "AddEvent"

From Gvp-public
Jump to navigation Jump to search
(Created page with "{{Api_Method_Spec| Description= |Parameters= {{Api_Parameter| ParamName=token |ParamType=String |ParamRequired=required |ParamDescription=A valid token for identifying the API s...")
 
Line 13: Line 13:
 
|ParamType=[[AnalyticsEventItem]]
 
|ParamType=[[AnalyticsEventItem]]
 
|ParamRequired=required
 
|ParamRequired=required
|ParamDescription=
+
|ParamDescription=The eventData parameter is an Object from AnalyticsEvenItem type and represent a set of data to register the event in the data base.
 +
e.g. { "Timestamp" : "4315435114", "Event" : "Play", "Data" : {"Param": "Value", "Param2": "Value2" }}.
 
}}
 
}}
 
{{Api_Parameter|
 
{{Api_Parameter|

Revision as of 15:12, 5 June 2014

Description

Parameters

  • token (String, required)
A valid token for identifying the API session context. The token can be anonymous or logged.
The eventData parameter is an Object from AnalyticsEvenItem type and represent a set of data to register the event in the data base.

e.g. { "Timestamp" : "4315435114", "Event" : "Play", "Data" : {"Param": "Value", "Param2": "Value2".


Returns

{{{Returns}}}


Exceptions

{{{Exceptions}}}


Caching

{{{Cache}}}


Known issues

{{{KnownIssues}}}


Version history

{{{VersionHistory}}}


See also

{{{SeeAlso}}}

  • mediaInfo (String, optional)

|Returns= Returns a JSON object ... .

Example:

{

object

}

|Exceptions= None

|Cache= This method is not cached.

|KnownIssues= None

|VersionHistory=

API Version Number Change description Changes author
1.0 Initial method design Harley Cabral
2.4 Ricardo Calvo


|SeeAlso= }}