Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Overview

GetNlLists()

This method returns the following information (see the sample response code below):

  1. Lists
    For each list, it includes:
    1. List ID
    2. List GUID
    3. List Name
  2. Groups
    For each list, it returns all groups within the list, if any:
    1. Group ID
    2. Group Name
       

Sample GetNlLists request

<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

<?xml version="1.0" encoding="windows-1252" ?>
<mailupMessage>
	<mailupBody>
		<ReturnCode>0</ReturnCode>
		<Lists>
			<List idList="1" listGUID="66af9900-7dd7-4cca-9125-beadaf345659" listName="News">
				<Groups>
					<Group idGroup="3" groupName="MY FIRST IMPORT" />
					<Group idGroup="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="Subscribed 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" />
					<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>

Error codes

Error codeDescription
0request execution succeeded
-200unrecognized error



 

  • No labels