PHP Класс SevenShores\Hubspot\Resources\ContactLists

Наследование: extends Resource
Показать файл Открыть проект

Открытые методы

Метод Описание
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