PHP 클래스 SevenShores\Hubspot\Resources\ContactLists

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

공개 메소드들

메소드 설명
addContact ( integer $list_id, array $contact_ids ) : Response Add a contact to a list.
all ( array $params = [] ) : Response Get a set of contact lists.
contacts ( integer $id, array $params = [] ) : Response Get contacts in a list.
create ( array $list ) : Response Create a new contact list.
delete ( integer $id ) : Response Delete a contact list.
getAllDynamic ( array $params = [] ) : Response
getAllStatic ( array $params = [] ) : Response
getBatchByIds ( array $ids ) : Response
getById ( integer $id ) : Response
recentContacts ( integer $id, array $params = [] ) : Response Get recently added contact from a list.
refresh ( integer $id ) : Response Refresh a list.
removeContact ( integer $list_id, array $contact_ids ) : Response Remove a contact from a list.
update ( integer $id, array $list ) : Response Update a contact list.

메소드 상세

addContact() 공개 메소드

Add a contact to a list.
public addContact ( integer $list_id, array $contact_ids ) : Response
$list_id integer
$contact_ids array
리턴 SevenShores\Hubspot\Http\Response

all() 공개 메소드

Get a set of contact lists.
public all ( array $params = [] ) : Response
$params array ['count', 'offset']
리턴 SevenShores\Hubspot\Http\Response

contacts() 공개 메소드

Get contacts in a list.
public contacts ( integer $id, array $params = [] ) : Response
$id integer List id
$params array Optional parameters { count, vidOffset, property, propertyMode, formSubmissionMode, showListMemberships }
리턴 SevenShores\Hubspot\Http\Response

create() 공개 메소드

Create a new contact list.
public create ( array $list ) : Response
$list array Contact list properties.
리턴 SevenShores\Hubspot\Http\Response

delete() 공개 메소드

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

getAllDynamic() 공개 메소드

public getAllDynamic ( array $params = [] ) : Response
$params array Optional parameters ['count', 'offset']
리턴 SevenShores\Hubspot\Http\Response

getAllStatic() 공개 메소드

public getAllStatic ( array $params = [] ) : Response
$params array Optional parameters ['count', 'offset']
리턴 SevenShores\Hubspot\Http\Response

getBatchByIds() 공개 메소드

public getBatchByIds ( array $ids ) : Response
$ids array
리턴 SevenShores\Hubspot\Http\Response

getById() 공개 메소드

public getById ( integer $id ) : Response
$id integer
리턴 SevenShores\Hubspot\Http\Response

recentContacts() 공개 메소드

Get recently added contact from a list.
public recentContacts ( integer $id, array $params = [] ) : Response
$id integer List id
$params array
리턴 SevenShores\Hubspot\Http\Response

refresh() 공개 메소드

Refresh a list.
public refresh ( integer $id ) : Response
$id integer List id
리턴 SevenShores\Hubspot\Http\Response

removeContact() 공개 메소드

Remove a contact from a list.
public removeContact ( integer $list_id, array $contact_ids ) : Response
$list_id integer
$contact_ids array
리턴 SevenShores\Hubspot\Http\Response

update() 공개 메소드

Update a contact list.
public update ( integer $id, array $list ) : Response
$id integer The contact list id.
$list array The contact list properties to update.
리턴 SevenShores\Hubspot\Http\Response