eventInviteCampaignUpdate
public static bool eventUpdatePage(string token,string eventID,string emailID,string content,string contentRaw,string address,string city,string state,string zip,string intlAddress,string isIntl,string textVersion,string templateID,string senderName,string replyEmail,string subject,string listIDs)
Update the invite for the event. Returns true if the event page is saved.
Section
Event Related Methods

Parameters
string tokenA valid token for your account. To generate a token, use the login method.
string eventIDThe ID of the event which you want to Update Invite Campaign
string emailIDThe ID of the Email which you want to update for Event Invite Campaign
string contentThe Content of the email
string contentRawThe Content Raw of the email
string addressThe Address
string cityThe City
string stateThe State
string zipThe Zip
string intlAddressThe International Address
string isIntlThe Is International Address
string textVersionThe Text Version
string addressThe Address
string templateIDThe Template ID used for the Invite Campaign
string senderNameThe Sender Name
string replyEmailThe Reply Email
string subjectThe Subject
string listIDsThe List IDs for which you want to send the Invite Campaign

Returns
stringReturns true if the event Invite Campaign is saved.


Examples
download example code
xmlrpc_eventInviteCampaignUpdate.php


  1. <?php
  2. /**
  3. This Example shows how to authenticate a user using XML-RPC.
  4. Note that we are using the PEAR XML-RPC client and recommend others do as well.
  5. **/
  6. require_once 'XML/RPC2/Client.php';
  7. require_once 'inc/config.php';
  8. $client = XML_RPC2_Client::create($apiURL);
  9. $token = $client->login($apiLogin, $apiPassword);
  10. /**
  11. Fetch the latest contact list ID, so we can retrieve the target contact list ID.
  12. **/
  13. $contactList = $client->listGet($token, "", 1, 1, "", "");
  14. $listID = $contactList[0]['id'];
  15.  
  16. $eventID='484';
  17. $emailID='-1';
  18. $content= '...';
  19. $contentRaw='...';
  20. $address='...';
  21. $city='...';
  22. $state='...';
  23. $zip='...';
  24. $intlAddress='...';
  25. $isIntl='...';
  26. $textVersion='...';
  27. $templateID='...';
  28. $senderName='Steve';
  29. $replyEmail='feedback@____.com';
  30. $subject='New Event created';
  31. $listIDs= $listID;
  32. $allOK = $client->eventInviteCampaignUpdate($token,$eventID,$emailID,$content,$contentRaw,$address,$city,$state,$zip,$intlAddress,$isIntl,$textVersion,$templateID,$senderName,$replyEmail,$subject,$listIDs);
  33. ?>