Cloneable Instantiable
Methods
public __construct ( PHPFUI\ConstantContact\Client $client )
public get ( string $contact_id , string $tracking_activities_list , ? string $limit = NULL ) : array
 

GET Contact Activity Details

Gets the tracking activity data for a given account and contact, sorted in descending activity date order.

One or more tracking activity types can be returned in a single request.

colspan='2'>Valid tracking activity types
em_sends Send
activities
em_opens Email open tracking
activities
em_clicks Link click-through
tracking activities
em_bounces Bounce
tracking activities
em_optouts Opt-out
tracking activities
em_forwards Forward
to a friend tracking activities
  • param string $contact_id The contact id which is requesting tracking activity data.
  • param string $tracking_activities_list The tracking activities list contains the tracking activity types to be specified as part of each request. The tracking activities list is a comma-delimited string containing one ore more tracking activity types. (such as em_sends, em_opens, em_forwards)
  • param string $limit The number of tracking activities to return in a single page. Valid values are 1 to 100. Default is 100.
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 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