You are here

function MCAPI::listInterestGroups in Mailchimp 5.2

Same name and namespace in other branches
  1. 5 MCAPI.class.php \MCAPI::listInterestGroups()
  2. 6.2 MCAPI.class.php \MCAPI::listInterestGroups()
  3. 6 MCAPI.class.php \MCAPI::listInterestGroups()
  4. 7 MCAPI.class.php \MCAPI::listInterestGroups()

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

Related

@example xml-rpc_listInterestGroups.php

@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 group names

Parameters

string $id the list id to connect to:

Return value

struct list of interest groups for the list

File

./MCAPI.class.php, line 678

Class

MCAPI

Code

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