List - Add
ADD LIST
Description | Adds a list. |
Returns | Success message or Error
|
XML Tags | Required: Optional: |
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>