User Set Info

From EveryTrail API Developer Documentation

Jump to: navigation, search

Contents

URL

/api/user/setuserinfo

Semantics

Sets the information for a user

Parameters

Parameter nameParameter formatRequiredDescription
usernamestringyesusername for authentication
passwordstringyespassword for authentication
emailstring (valid email address)yesemail address of the user creating the account
first_namestringnofirst name for the user
last_namestringnolast name for the user
introstringnointro text for the user
citystringnocity of residence
state_provincestringnostate or province of residence
countrystringnocountry of residence
zipcodestringnozip code of residence

Success Response

<etUserSetUserInfoResponse status="success">
  <userId>${user ID}</userId>
</etUserSetUserInfoResponse>

${user ID}: ID of the user

Error Response

<etUserSetUserInfoResponse status="error">
  <userId>${user ID}</userId>
  ${error reponse}
</etUserSetUserInfoResponse>

${error reponse}: See format in Error Reponse Format

Old version

The documentation of the old version of this API can be found here

Personal tools