PHP Class SevenShores\Hubspot\Resources\EmailEvents

Inheritance: extends Resource
Show file Open project: fungku/hubspot-php

Public Methods

Method Description
all ( array $params = [] ) : Response Get email events for a campaign or recipient.
getById ( integer $id, integer $created ) : Response Get event data for a specific event.
getCampaignById ( integer $campaign_id, integer $application_id ) : Response Get campaign data for a given campaign.
getCampaignIds ( array $params = [] ) : Response Get campaign IDs for a portal.

Method Details

all() public method

Get email events for a campaign or recipient.
public all ( array $params = [] ) : Response
$params array Optional parameters
return SevenShores\Hubspot\Http\Response

getById() public method

Get event data for a specific event.
public getById ( integer $id, integer $created ) : Response
$id integer The event ID
$created integer Timestamp (milliseconds) when the event was created
return SevenShores\Hubspot\Http\Response

getCampaignById() public method

Get campaign data for a given campaign.
public getCampaignById ( integer $campaign_id, integer $application_id ) : Response
$campaign_id integer
$application_id integer
return SevenShores\Hubspot\Http\Response

getCampaignIds() public method

Get campaign IDs for a portal.
public getCampaignIds ( array $params = [] ) : Response
$params array Optional parameters
return SevenShores\Hubspot\Http\Response