PHP 클래스 SevenShores\Hubspot\Resources\Workflows

상속: extends Resource
파일 보기 프로젝트 열기: fungku/hubspot-php

공개 메소드들

메소드 설명
all ( ) : Response Get all workflows.
create ( array $workflow ) : Response Create a new workflow.
delete ( integer $id ) : Response Delete a workflow.
enrollContact ( integer $workflow_id, string $email ) : Response Enroll a contact in a workflow.
enrollmentsForContact ( integer $contact_id ) : Response Get current enrollments for a contact.
getById ( integer $id ) : Response Get a specific workflow.
pastEventsForContact ( integer $workflow_id, integer $contact_id, array $params = [] ) : Response Get past events for contact from a workflow.
unenrollContact ( integer $workflow_id, string $email ) : Response Unenroll a contact from a workflow.
upcomingEventsForContact ( integer $workflow_id, integer $contact_id, array $params = [] ) : Response Get upcoming (scheduled) events for a contact in a workflow.

메소드 상세

all() 공개 메소드

Get all workflows.
public all ( ) : Response
리턴 SevenShores\Hubspot\Http\Response

create() 공개 메소드

Create a new workflow.
public create ( array $workflow ) : Response
$workflow array The workflow properties
리턴 SevenShores\Hubspot\Http\Response

delete() 공개 메소드

Delete a workflow.
public delete ( integer $id ) : Response
$id integer
리턴 SevenShores\Hubspot\Http\Response

enrollContact() 공개 메소드

Enroll a contact in a workflow.
public enrollContact ( integer $workflow_id, string $email ) : Response
$workflow_id integer
$email string
리턴 SevenShores\Hubspot\Http\Response

enrollmentsForContact() 공개 메소드

Get current enrollments for a contact.
public enrollmentsForContact ( integer $contact_id ) : Response
$contact_id integer
리턴 SevenShores\Hubspot\Http\Response

getById() 공개 메소드

Get a specific workflow.
public getById ( integer $id ) : Response
$id integer
리턴 SevenShores\Hubspot\Http\Response

pastEventsForContact() 공개 메소드

Get past events for contact from a workflow.
public pastEventsForContact ( integer $workflow_id, integer $contact_id, array $params = [] ) : Response
$workflow_id integer
$contact_id integer
$params array Optional parameters.
리턴 SevenShores\Hubspot\Http\Response

unenrollContact() 공개 메소드

Unenroll a contact from a workflow.
public unenrollContact ( integer $workflow_id, string $email ) : Response
$workflow_id integer
$email string
리턴 SevenShores\Hubspot\Http\Response

upcomingEventsForContact() 공개 메소드

Get upcoming (scheduled) events for a contact in a workflow.
public upcomingEventsForContact ( integer $workflow_id, integer $contact_id, array $params = [] ) : Response
$workflow_id integer
$contact_id integer
$params array
리턴 SevenShores\Hubspot\Http\Response