List - Edit

EDIT LIST

 

Description

Edits a list.

Returns

Success message or Error

 

XML Tags

Required:
<listid> id of list

Optional:
<name> name of list
<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>listedit</action>
<listid>12345</listid>
<name>List name </name>
<description>Description of this list</description>
<subscribercenterflag>1</subscribercenterflag>
</command>
</criticalimpact>
 
RETURN SAMPLE (SUCCESSFUL)
<criticalimpact>
<description>List Updated</description>
</criticalimpact>

 

RETURN SAMPLE (FAILURE)

<criticalimpact>
        <error>
        <description>You do not have permission to access this data</description>
        <id>0</id>
        </error>
</criticalimpact>