Need An Email Marketing Solution For All Of Your Customers?

Partner With VerticalResponse!

editListAttribute


The editListAttribute() method changes one attribute of an existing list. Currently supported attributes are “name” and “form_id” for lists attached to opt-in forms.

Input

[vrtypens:editListAttributeArgs]

session_id [xsd:string] (required)
Your API session id.
list_id [xsd:int] (required)
The id of the list whose attribute is being updated.
attribute_name [xsd:string] (required)
The name of the attribute that’s being updated. This must be either “name”
or “form_id”.
attribute_value [xsd:string]
The new attribute value. If the “name” argument was set to “name”, the list’s new name will be changed to this. If the “name” argument was set to “form_id”, and this list doesn’t already have an opt-in form associated with it, then the list will be attached to the opt-in form specified by this value.

Output

[xsd:boolean]

Examples

Perl

$vrapi->editListAttribute( {
    session_id => $sid,
    list_id => $lid,
    attribute_name => 'Q2 resp',
    attribute_value => 'Q2 Responders',
} );

PHP

$vrapi->editListAttribute( array(
    'session_id'      => $sid,
    'list_id'         => $lid,
    'attribute_name'  => 'Q2 resp',
    'attribute_value' => 'Q2 Responders',
) );

Ruby

vr.editListAttribute({ 
  'session_id' => sid,
  'list_id'    => lid, 
  'attribute_name'  => 'Q2 resp',
  'attribute_value' => 'Q2 Responders' 
})

C#.NET

editListAttributeArgs objELAttributes = new editListAttributeArgs();
objELAttributes.session_id = _sSessionId;
objELAttributes.list_id = iListId;
objELAttributes.attribute_name = "Q2 resp";
objELAttributes.attribute_value = "Q2 Responders";

objVR.editListAttribute(objELAttributes);