You are here

function MCAPI::listInterestGroups in Mailchimp 7

Same name and namespace in other branches
  1. 5.2 MCAPI.class.php \MCAPI::listInterestGroups()
  2. 5 MCAPI.class.php \MCAPI::listInterestGroups()
  3. 6.2 MCAPI.class.php \MCAPI::listInterestGroups()
  4. 6 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. Get by calling lists():

Return value

struct list of interest groups for the list

File

./MCAPI.class.php, line 1020

Class

MCAPI

Code

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