User Login

From EveryTrail API Developer Documentation

Jump to: navigation, search

Contents

URL

/api/user/login

Semantics

Logs in a user

Parameters

Parameter nameParameter formatRequiredDescription
usernamestringyesusername of the user making the request
passwordstringyespassword of the user making the request

Success Response

<etUserLoginResponse status="success">
  <userID>${user ID}</userID>
</etUserLoginResponse>

${user ID}: ID of the user

Error Response

<etUserLoginResponse status="error">
  ${error reponse}
</etUserLoginResponse>

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

Error Codes

CodeMessage
11invalid username/password
10unknown error
Personal tools