You are here

function MCAPI::listInterestGroupings in Mailchimp 6.2

Get the list of interest groupings for a given list, including the label, form information, and included groups for each

Related

@example xml-rpc_listInterestGroupings.php

@returnf string id The id for the Grouping @returnf string name Name for the Interest groups @returnf string form_field Gives the type of interest group: checkbox,radio,select @returnf array groups Array of the grouping options including the "bit" value, "name", "display_order", and number of "subscribers" with the option selected.

Parameters

string $id the list id to connect to. Get by calling lists():

Return value

struct list of interest groups for the list

File

./MCAPI.class.php, line 1140

Class

MCAPI

Code

function listInterestGroupings($id) {
  $params = array();
  $params["id"] = $id;
  return $this
    ->callServer("listInterestGroupings", $params);
}