List - Add

ADD LIST

 

Description

Adds a list.

Returns

Success message or Error

 

XML Tags

Required:
<name> name of list

Optional:
<description> brief description of list
<subscribercenterflag> Show or hide (1 or 0 respectively) on subscriber center 

 

CALLING SAMPLE
<criticalimpact>
<login>
<username>username_here</username>
<password>password_here</password>
</login>
<command>
<action>listadd</action>
<name>List name </name>
<description>Description of this new list</description>
<subscribercenterflag>1</subscribercenterflag>
</command>
</criticalimpact>
 
RETURN SAMPLE (SUCCESSFUL)
<criticalimpact>
<description>List Inserted</description>
</criticalimpact>

 

RETURN SAMPLE (FAILURE)

<criticalimpact>
        <error>
        <description>A list with this name aleady exists</description>
        <id>0</id>
        </error>
</criticalimpact>