You are here

function MCAPI::listInterestGroupAdd in Mailchimp 5.2

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

Add a single Interest Group

Related

@example xml-rpc_listInterestGroupAdd.php

Parameters

string $id the list id to connect to:

string $group_name the interest group to add:

Return value

bool true if the request succeeds, otherwise an error will be thrown

File

./MCAPI.class.php, line 693

Class

MCAPI

Code

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