Videos TV & Movies Channels Community

veoh.people.sendMessage

Send a message with a subject and body to the user specified by the given user name

Request URL

HTTP(HTTPS)://www.veoh.com/rest/v1/?method=veoh.people.sendMessage&apiKey=[your api key]

HTTP method

GET,POST

Arguments

username(Required)
The user name. A valid user name should only contain alphanumeric characters (0-9)(A-Z) between 3 and 40 characters long.
subject(Required)
The subject
message(Required)
The message body
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

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.
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
322 : rest.media.noMessageProvided
No message has been provided in the request.
325 : rest.media.invalidMessage
The message provided in the request is not valid.
129 : rest.api.noSubjectProvided
No subject was provided
130 : rest.api.invalidSubject
The provided subject was invalid
201 : rest.user.noUserNameProvided
No user name has been provided in the request
203 : rest.user.invalidUsername
The user name provided in the request is not valid. A valid user name should only contain alphanumeric characters (0-9)(A-Z) between 3 and 40 characters long.
200 : rest.user.uesrNotFound
User is not found
263 : rest.user.sendToSelfError
The sender and receiver of a message cannot be the same user.
132 : rest.api.mustBeLoggedIn
This operation is only valid when a user is logged in
261 : rest.user.blockedByUser
The given user has blocked you from performing this action.

API Explorer

API Explorer : veoh.people.sendMessage

Copyright © 2008 Veoh Networks, Inc.  |  Terms of Use  |  Copyright  |  Privacy Policy