User Login
From EveryTrail API Developer Documentation
Contents |
URL
/api/user/login
Semantics
Logs in a user
Parameters
| Parameter name | Parameter format | Required | Description |
|---|---|---|---|
| username | string | yes | username of the user making the request |
| password | string | yes | password 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
| Code | Message |
|---|---|
| 11 | invalid username/password |
| 10 | unknown error |
