You are here

function MCAPI::campaignFolders in Mailchimp 5.2

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

List all the folders for a user account

Related

@example xml-rpc_campaignFolders.php

@returnf integer folder_id Folder Id for the given folder, this can be used in the campaigns() function to filter on. @returnf string name Name of the given folder

Return value

array Array of folder structs (see Returned Fields for details)

File

./MCAPI.class.php, line 337

Class

MCAPI

Code

function campaignFolders() {
  $params = array();
  return $this
    ->callServer("campaignFolders", $params);
}