Ctct\Services\ContactTrackingService
Performs all actions pertaining to Contact Tracking
- Author: Constant Contact
Synopsis
class ContactTrackingService
extends BaseService
{
- // Inherited members from BaseService
- public $restClient $restClient;
- protected $apiKey;
- // methods
- public ResultSet getBounces()
- public ResultSet getClicks()
- public ResultSet getForwards()
- public ResultSet getOpens()
- public ResultSet getSends()
- public ResultSet getUnsubscribes()
- public TrackingSummary getSummary()
- // Inherited methods from BaseService
- public void __construct()
- public string buildUrl()
- public RestClientInterface getRestClient()
- public void setRestClient()
- protected static array getHeaders()
Hierarchy
Extends
Members
protected
- $apiKey
—
string
ApiKey for the application
public
- $restClient
—
Ctct\Services\$restClient
RestClient Implementation to use for HTTP requests
Methods
public
- getBounces() — Get bounces for a given contact
- getClicks() — Get clicks for a given contact
- getForwards() — Get forwards for a given contact
- getOpens() — Get opens for a given contact
- getSends() — Get sends for a given contact
- getSummary() — Get a summary of reporting data for a given contact
- getUnsubscribes() — Get unsubscribes for a given contact
Inherited from Ctct\Services\BaseService
protected
- getHeaders() — Helper function to return required headers for making an http request with constant contact
public
- buildUrl() — Build a url from the base url and query parameters array
- getRestClient() — Get the rest client being used by the service
- setRestClient()