function MCAPI::listStaticSegments in Mailchimp 6.2
Retrieve all of the Static Segments for a list.
Related
@returnf int id the id of the segment @returnf string name the name for the segment @returnf int member_count the total number of members currently in a segment @returnf date date_created the date/time the segment was created @returnf date last_update the date/time the segment was last updated (add or del) @returnf date last_reset the date/time the segment was last reset (ie had all members cleared from it)
Parameters
string $id the list id to connect to. Get by calling lists():
Return value
array an array of parameters for each static segment
File
- ./
MCAPI.class.php, line 1334
Class
Code
function listStaticSegments($id) {
$params = array();
$params["id"] = $id;
return $this
->callServer("listStaticSegments", $params);
}