Returns all the available lists and their IDs. If you need also list GUIDs you can use WS_MailUpImport.GetNlLists

Method parameters

  • string GetLists(string accessKey)
    • accessKey: access key obtained using the LoginFromId method

If error code=0, the message will contain the IDs of all the accessible lists.

SOAP Examples

SOAP Response
<listName>Lista nr.1</listName>
<listName>Lista nr.2</listName>

Code Examples

# Refer to for gem information.
require 'mailup'
m ='api-username', 'api-password')
# Returns XML response
# => "<GetListsResult><errorCode>0</errorCode><errorDescription></errorDescription><lists> ... </lists></GetListsResult>"