Copied!
Cloneable Instantiable
Methods
public __construct ( PHPFUI\ConstantContact\Client $client )
public get ( string $campaign_activity_id , ? string $include = NULL ) : array
 

GET a Single Email Campaign Activity

Use this method to return a specific email campaign activity. Each email
campaign activity contains the email content, metadata, and styling
information of an email. Email campaign activities can also contain
either contact lists or segments. Constant Contact uses this information
to determine who to send the email campaign activity to when you schedule
it. You cannot get email campaign activities that have a REMOVED status.

  • param string $campaign_activity_id The unique ID for an email campaign activity.
  • param string $include Use the include query parameter to enter a comma separated list of additional email campaign activity properties for the V3 API to return. Valid values are physical_address_in_footer, permalink_url, html_content, and document_properties.
public PHPFUI\ConstantContact\Base :: getLastError () : string
public PHPFUI\ConstantContact\Base :: getResponseText () : string
public PHPFUI\ConstantContact\Base :: getStatusCode () : int
public PHPFUI\ConstantContact\Base :: next () : array
 

If the endpoint is paginated, you can call next() to retrieve the next set of data. If no next is provided, an empty array is returned.

  • return array filled with next part of the response from the endpoint, or empty if no next.
public put ( string $campaign_activity_id , PHPFUI\ConstantContact\Definition\EmailCampaignActivity $body ) : array
 

PUT (Update) An Email Campaign Activity

Use this method to update an email campaign activity by including the
complete email campaign activity with your changes in the request body.
The request body requires the from_name, from_email, reply_to_email,
and subject properties.

You can only update email campaign activities that have the primary_email
role and that are in DRAFT or Done status.
When you use a PUT method to update a resource, the V3 API overwrites
any properties that are missing in the request body. However, the V3
API does not overwrite subresources that you omit in the request body
or missing properties in subresources. This method considers physical_address_in_footer,
document_properties, html_content, and permalink_url subresources
of the email campaign activity.

public PHPFUI\ConstantContact\Base :: success () : bool
Properties
protected PHPFUI\ConstantContact\Client PHPFUI\ConstantContact\Base :: $client
protected string PHPFUI\ConstantContact\Base :: $urlPath
Methods
protected PHPFUI\ConstantContact\Base :: doDelete ( array $parameters ) : array
protected PHPFUI\ConstantContact\Base :: doGet ( array $parameters ) : array
protected PHPFUI\ConstantContact\Base :: doPatch ( array $parameters ) : array
protected PHPFUI\ConstantContact\Base :: doPost ( array $parameters ) : array
protected PHPFUI\ConstantContact\Base :: doPut ( array $parameters ) : array
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration