Overview
GetNlLists()Returns a message containing all the available lists and groups (e.g. three lists: "Technical Support Subscribers", "Company News Subscribers", "Product News Subscribers"; each list might contain one or more groups).
This method returns the following information (see the sample response code below):
- Lists
For each list, it includes:
- List ID
- List GUID
- List Name
- Groups
For each list, it returns all groups within the list, if any:- Group ID
- Group Name
Sample GetNlLists request
Code Block |
---|
language | html/xml |
---|
linenumbers | true |
---|
|
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.mailupnet.it/">
<soapenv:Header>
<ws:Authentication>
<!--Optional:-->
<!--Optional:-->
<ws:User>myUser</ws:User>
<!--Optional:-->
<ws:Password>OXEX2CQ5</ws:Password><ws:encType>UTF-8</ws:encType>
</ws:Authentication>
</soapenv:Header>
<soapenv:Body>
<ws:GetNlLists/>
</soapenv:Body>
</soapenv:Envelope> |
Sample GetNlLists response
Code Block |
---|
language | html/xml |
---|
linenumbers | true |
---|
|
<?xml version="1.0" encoding="windows-1252" ?>
<mailupMessage>
<mailupBody>
<ReturnCode>0</ReturnCode>
<Lists>
<List idList="1" listGUID="F9168C5E66af9900-CEB27dd7-4FAA4cca-B6BF-329BF39FA1E49125-beadaf345659" listName="News">
<Groups>
<Group idGroup="3" groupName="MY FIRST IMPORT" />
<Group idGroup="1"6" groupName="TEST" />
<Group idGroup="8" groupName="AUTOMATICALLY UPDATED ADDRESSES" />
<Group idGroup="9" groupName="Change your email" />
<Group idGroup="10" groupName="Receive our SMS" />
<Group idGroup="11" groupName="Update your personal data" />
<Group idGroup="12" groupName="First GroupSubscribed using a social networks account" />
<Group idGroup="22" groupName="Preferred Customers" />
<Group idGroup="23" groupName="Resellers" />
</Groups>
</List>
<List idList="2" listGUID="0e591119-cd77-4157-9379-6ac75335664" listName="SMS">
<Groups>
<Group idGroup="13" groupName="TEST" />
<Group idGroup="14" groupName="Subscribed using social login" />
groupName="Second Group <Group idGroup="15" groupName="UPDATED VIA AUTOPROFILE FEATURE" />
<Group idGroup="19" groupName="March Promotion" />
<Group idGroup="20" groupName="April Promotion" />
<Group idGroup="21" groupName="May Promotion" />
</Groups>
</List>
<List idList="4" listGUID="2c8d028c-e614-4ab2-81fc-0ef13b34560a" listName="test">
<Groups></Groups>
</List>
</Lists>
</mailupBody>
</mailupMessage> |
...