User Set Info
From EveryTrail API Developer Documentation
Contents |
URL
/api/user/setuserinfo
Semantics
Sets the information for a user
Parameters
| Parameter name | Parameter format | Required | Description |
|---|---|---|---|
| username | string | yes | username for authentication |
| password | string | yes | password for authentication |
| string (valid email address) | yes | email address of the user creating the account | |
| first_name | string | no | first name for the user |
| last_name | string | no | last name for the user |
| intro | string | no | intro text for the user |
| city | string | no | city of residence |
| state_province | string | no | state or province of residence |
| country | string | no | country of residence |
| zipcode | string | no | zip 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
