autoresponderGetDetail
public static array autoresponderGetDetail(string token, string autoresponderID)
Get all the details for given Autoresponder ID
Section
Email Campaign Related Methods

Parameters
string tokenA valid token for your account. To generate a token, use the login method.
string autoresponderIDThe autoresponderID ID . To get all the Autoresponder campaigns, use the autoresponderGetList method.

Returns
arrayReturns an array with the details.

Return Structure
string idThe ID of the email campaign.
string autoresponderNameName of the Autoresponder
string statusStatus of the Autoresponder
string createdDateThe date on which the Autoresponder was created
string modifiedDateThe date on which the Autoresponder was last updated
string contactListIDId of the contact list associated with the Autoresponder
string contactListNameName of the contact list associated with the Autoresponder
string isSegmentWhether the associated list is a segment
string fromNameName displayed as "from" in your contact's in-box
string fromEmailEmail displayed as "from address" in your contact's in-box
string permissionReminderMessageoptional. Permission reminder message text
bool webpageVersionoptional. Include a link to view a web version of the email. Defaults to false.
array emailsThe array containing the Autoresponder email details.
string autoresponderDetailIDThe id of the Autoresponder email
string subjectThe subject of the Autoresponder email
string days No of days after the date of the creation of the Autoresponder when the email is to be sent to the list
string type Type of the autoresponder - valid values are 'one off email' , 'annual email' , 'new subscriber email'
string whentosend When to send the autoresponder valid values are 'after' , 'before', ignore if this is not applicable
string fieldtocompare Label of the datecolumn which is used as a reference for 'annual email' or 'one off email' , ignore if this is not applicable


Examples
download example code
xmlrpc_autoresponderGetDetail.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. /**
  12. Fetch the latest Autoresponder, so that we can retrieve the Autoresponder ID.
  13. **/
  14. $AutoresponderList = $client->autoresponderGetList($token,1,10,'','','');
  15. $autoresponderID = $AutoresponderList[0]['id'];
  16.  
  17. $data = $client->autoresponderGetDetail($token,$autoresponderID);
  18. print_r($data);
  19. ?>