Update the user information. The enctype attribute with value "multipart/form-data" has to present in the POST. 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. If only the j_username is provided and the j_username represents a user created by the apiKey, then the information of the user presented by the j_username can be changed, including password. 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.updateInfo&apiKey=[your api key]
HTTP method
POST
Arguments
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.
username(Optional)
The user name. A valid user name should only contain alphanumeric characters (0-9)(A-Z) between 3 and 40 characters long.
password(Optional)
The password to update
email(Optional)
The email, it has to confirm to the standard email format and is valid.
firstName(Optional)
First name
lastName(Optional)
Last name
gender(Optional)
The gender
phoneNumber(Optional)
The phone number
address.address(Optional)
The street address.
address.city(Optional)
The city
address.province(Optional)
The province
address.country(Optional)
the country
address.postalCode(Optional)
The postal code
thumbnail(Optional)
The thumbnail file of the user
quote(Optional)
The quote of the user
receiveNewsletter(Optional)
The receiveNewsletter property of a user. It has to be 1 or 0 representing true or false.
dateOfBirth(Optional)
The dateOfBirth property of a user. It has to be in a valid date format
website(Optional)
The website of the object such as a video, a channel, a series, or a user.
description(Optional)
The description of the object such as a video, a channel, a series, or a user.
interests(Optional)
The interests property of a user.
movies(Optional)
The movies property of a user.
music(Optional)
The music property of a user.
tv(Optional)
The tv property of a user.
showFavorites(Optional)
The showFavorites property of a user. It has to be 1 or 0 representing true or false.
showComments(Optional)
The showComments property of a user. It has to be 1 or 0 representing true or false.
visibility(Optional)
The visibility property of a user. It has to be one of the the following values: 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 8192, and 16384.
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.
128 : rest.api.httpsReqired
HTTPS protocol is required for one time authentication.
212 : rest.user.invalidFirstname
The first name provided in the request is invalid
213 : rest.user.invalidLastName
The last name provided in the request is invalid
214 : rest.user.invalidGener
The gender provided in the request is invalid
217 : rest.user.invalidPhoneNumber
The phone number provided in the request is invalid
220 : rest.user.invalidAddress
The 'address' parameter provided in the request is not valid.
221 : rest.user.invalidCity
The 'city' parameter provided in the request is not valid.
222 : rest.user.invalidProvince
The 'province' parameter provided in the request is not valid.
223 : rest.user.invalidCountry
The 'country' parameter provided in the request is not valid.
224 : rest.user.invalidPostalcode
The 'postalCode' parameter provided in the request is not valid.
210 : rest.user.invalidThumbnail
The thumbnail provided in the request is invalid
225 : rest.user.invalidQuote
The 'quote' parameter provided in the request is not valid.
252 : rest.user.invalidReceiveNewsLetter
The receiveNesLetter property provided in the request is not valid.
216 : rest.user.invalidDateOfBirth
The date of birth provided in the request is invalid
258 : rest.user.invalidShowComments
The showComments property provided in the request is not valid.
257 : rest.user.invalidShowFavorites
The showFavorites property provided in the request is not valid.
215 : rest.user.invalidDescription
The description provided in the request is invalid
211 : rest.user.invalidWebsite
The website provided in the request is invalid
253 : rest.user.invalidInterests
The interests property provided in the request is not valid.
255 : rest.user.invalidMusic
The music property provided in the request is not valid.
254 : rest.user.invalidMovies
The movies property provided in the request is not valid.
256 : rest.user.invalidTV
The tv property provided in the request is not valid.
259 : rest.user.invalidVisibility
The visibility property provided in the request is not valid.
221 : rest.user.invalidPassword
The password provided in the request is not valid.