Need An Email Marketing Solution For All Of Your Customers?

Partner With VerticalResponse!

editCustomListField


The editCustomListField() method updates a single custom list field from the VR mailing custom list fields.
Optionally allows to set this custom list field size to “small”, “medium” and “large”;
Optionally, truncate data is used along with the custom list field width when decreasing a custom list field size.
One of the two arguments should be present in the method call.

Input

[vrtypens:editCustomListFieldArgs]

session_id [xsd:string] (required)
Your API session id.
field_name [xsd:string] (required)
The field name to edit
new_width [xsd:string]
The field new width to be updated.
Allowed widths “small”, “medium”, “large”
truncate_data [xsd:boolean]
Truncate data is used along with the custom list field width when decreasing a custom list field size.
It is ignored when increasing the custom list field width.

Output

[xsd:boolean]
The output is always true.

Examples

Perl

$vrapi->editCustomListField( {
    session_id => $sid,
    field_name => $field_name
    new_width => 'large'
    },
} );


$vrapi->editCustomListField( {
    session_id => $sid,
    field_name => $field_name
    new_width => 'small'
    truncate_data => true
    },
} );

PHP

$vrapi->editCustomListField( array(
    'session_id' => $sid,
    'field_name' => $field_name
    'new_width' => 'large'
) );


$vrapi->editCustomListField( array(
    'session_id' => $sid,
    'field_name' => $field_name
    'new_width' => 'small'
    'truncate_data' => true
) );

Ruby

vr.editCustomListField({
   'session_id'  => sid,
   'field_name' => field_name
   'new_width' => 'large'
})

vr.editCustomListField({
   'session_id'  => sid,
   'field_name' => field_name
   'new_width' => 'small'
   'truncate_data => true
})