Log user event. The method expects a userToken or a j_username/j_password pair from which the user of this request will be determined. If the j_username/j_password pair is provided for one-time authentication, the request has to be made using HTTPS protocol. If neither the userToken nor the j_username/j_password is provided, the owner of the application will be considered making this request. This method is not available to general public. Only Veoh's partners can access this feature.
Request URL
HTTP(HTTPS)://www.veoh.com/rest/v1/?method=veoh.people.logEvent&apiKey=[your api key]
HTTP method
GET,POST
Arguments
keys(Required)
The keys for the log event
values(Required)
The values for the log event
eventName(Required)
The event name to log
userToken(Optional)
The userToken that represents the requester
j_username(Optional)
The username of the user making this request. It has to represent a valid user in the sysetm.Combined with the j_password, it will be used to provide one time authentication.
j_password(Optional)
The password of the user making this request. Combined with the j_username, it will be used to provide one time authentication.
Example Response
#EXAMPLERESPONSE#
Error Codes
100 : rest.api.serviceUnavailable
The REST API service in temporarily unavailable
118 : rest.api.invalidApiKey
The api key provided in the url is not valid.
117 : rest.api.noApiKeyProvided
No api key has been provided in the request.
131 : rest.api.tooManyRequests
The number of requests made has exceeded the limit of this apiKey.
117 : rest.api.noApiKeyProvided
No api key has been provided in the request.
132 : rest.api.gapNotEnough
The request has to be made after a certain period of time associated with this apiKey
114 : rest.api.verboseNotInt
The verbose level provided in the request is not a valid integer
115 : rest.api.invalidVerbose
The verbose level provided in the request is invalid, it has to be 0, 1,or 2
128 : rest.api.httpsReqired
HTTPS protocol is required for one time authentication.
247 : rest.user.invalidUserToken
The userToken provided in the request is not valid.
248 : rest.user.invalidUserTokenExpired
The userToken provided in the request has expired.
224 : rest.user.logginFailed
The username or the password provided in the request is not valid. Authentication failed.
236 : rest.user.noKeysProvided
No 'keys' has been provided in the request.
237 : rest.user.noValuesProvided
No 'values' has been provided in the request.
238 : rest.user.noEventNameProvided
No 'eventName' has been provided in the request.
234 : rest.user.arrayLengthNotSame
The length of the keys array and that of the values array must be the same.