Important!
This documentation has been deprecated. We are migrating Oempro help articles to our new help portal. Take a look at more detailed help articles on our new help portal.
Sections:
- Description
- Oempro Version
- Request Parameters
- Response Parameters
- Error Codes
User.Get
Description
Returns the user information
Oempro Version
4.1.15+
Request Parameters
- SessionID = {string} (required)
- Session ID which is needed to authenticate the access. It's optional and required for desktop applications only
- Command = {User.Get} (required)
- API Command
- ResponseFormat = {JSON | XML} (required)
- Response format
- JSONPCallBack = {bool}
- Send this parameter for cross-domain. More info about JSONP can be found here: http: //en.wikipedia.org/wiki/JSON#JSONP
- UserID = {integer} (required)
- ID number of the target user account (or email address)
- EmailAddress = {string} (required)
- Email address of the target user account (or user ID)
Response Parameters
- Success = {true | false}
- States if there is an error or not
- ErrorCode = {integer}
- If there is an error, error's code
- UserInformation = {array}
- User information
Error Codes
- 1
- User ID is missing
- 2
- EmailAddress is missing
- 3
- No user account found
- 99998
- Authentication failure or session expired
- 99999
- Not enough privileges
Stay connected!