function MCAPI::campaignSchedule in Mailchimp 5.2
Same name and namespace in other branches
- 5 MCAPI.class.php \MCAPI::campaignSchedule()
- 6.2 MCAPI.class.php \MCAPI::campaignSchedule()
- 6 MCAPI.class.php \MCAPI::campaignSchedule()
- 7 MCAPI.class.php \MCAPI::campaignSchedule()
Schedule a campaign to be sent in the future
Related
@example xml-rpc_campaignSchedule.php
Parameters
string $cid the id of the campaign to schedule:
string $schedule_time the time to schedule the campaign. For A/B Split "schedule" campaigns, the time for Group A - in YYYY-MM-DD HH:II:SS format in <strong>GMT</strong>:
string $schedule_time_b optional -the time to schedule Group B of an A/B Split "schedule" campaign - in YYYY-MM-DD HH:II:SS format in <strong>GMT</strong>:
Return value
boolean true on success
File
- ./
MCAPI.class.php, line 71
Class
Code
function campaignSchedule($cid, $schedule_time, $schedule_time_b = NULL) {
$params = array();
$params["cid"] = $cid;
$params["schedule_time"] = $schedule_time;
$params["schedule_time_b"] = $schedule_time_b;
return $this
->callServer("campaignSchedule", $params);
}