User Profile Info
From EveryTrail API Developer Documentation
Contents |
URL
/api/user
Semantics
Get the information for a given user
Parameters
| Parameter name | Parameter format | Required | Description |
|---|---|---|---|
| user_id | int | yes | The id of the user |
Success Response
<etUserResponse status="success"> ${userXML} </etUserResponse>
${userXML} - see User XML Format
Error Response
<etUserResponse status="error"> <userID>${userID}</userID> ${error response} </etUserResponse>
- ${userID}: the id of the user specified in the request
- ${error response}: See format in Error Reponse Format
Error Codes
| Code | Message |
|---|---|
| 15 | Invalid user id. |
