Back to Documentation Overview
campaignUnschedule
public static campaignUnschedule(string uid, string cid)
Unschedule a campaign that is scheduled to be sent in the future
- Section:
- Campaign Related
- Parameters:
uid the id for your user account. Get by calling login($user, $pass) cid the id for the campaign to unschedule - Returns:
- boolean - true on success
- <?php
- /**
- This Example shows how to use the XML-RPC service to Unschedule/stop a previously
- Scheduled Campaign so that it does not get sent out and do some basic error checking.
- Note that we are using the PEAR XML-RPC client and recommend others do as well.
- **/
- require_once 'XML/RPC2/Client.php';
- include('inc/config.inc.php'); //contains username & password
- $uuid = $client->login($username,$password);
- try {
- $result = $client->campaignUnschedule($uuid, '577a63cadc');
- } catch (XML_RPC2_FaultException $e){
- }
Examples (1)
download example code[1] xml-rpc_campaignUnschedule.php
|
Add New Note
User Contributed Notes for
campaignUnschedule |
|---|
| No notes, yet... Will you be the first?? |