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
Subscriber.GetLists
Description
Returns subscriber lists of the user
'''Important:''' This command requires subscriber login session which can be retrieved by running [[Subscriber.Login]] API call.
Oempro Version
4+
Request Parameters
- SessionID = {string} (required)
- Session ID which is needed to authenticate the access. It's optional and required for desktop applications only
- Command = {Subscriber.GetLists} (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
Response Parameters
- Success = {true | false}
- States if there is an error or not
- ErrorCode = {integer}
- If there is an error, error's code
- SubscribedLists = {array}
- Returns the list of subscriber lists and subscriptions in array
Error Codes
- 1
- Invalid authentication #1
- 2
- Invalid authentication #2
- 3
- Invalid subscriber information
- 99998
- Authentication failure or session expired
- 99999
- Not enough privileges
Stay connected!