Need An Email Marketing Solution For All Of Your Customers?

Partner With VerticalResponse!

setDisplayedListFields


The setDisplayedListFields() method sets the fields which are displayed when viewing a list in the VerticalResponse application.

Input

[vrtypens:setDisplayedListFieldsArgs]

session_id [xsd:string] (required)
Your API session id.
list_id [xsd:int] (required)
The id of the list whose displayed fields are being set.
displayed_fields [vrtypens:ArrayOfString] (required)
A list of the names of the fields that should be displayed.

Output

[xsd:boolean]
The output is always true.

Examples

Perl

$vrapi->setDisplayedListFields( {
    session_id => $sid,
    list_id    => $lid,
    displayed_fields => [ 'email_address', 'first_name', 'state' ],
} );

PHP

$vrapi->setDisplayedListFields( array(
    'session_id'      => $sid,
    'list_id'         => $lid,
    'displayed_fields' => array( 'email_address', 'first_name', 'state' ),
) );

Ruby

vr.setDisplayedListFields({
    'session_id'      => sid,
    'list_id'         => lid,
    'displayed_fields' => [ 'email_address', 'first_name', 'state' ],
})