C# Класс CallfireApiClient.Api.Contacts.DncApi

Показать файл Открыть проект

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

Метод Описание
Find ( FindDncContactsRequest request ) : Page

Find all Do Not Contact (DNC) objects created by the user. These DoNotContact entries only affect calls/texts/campaigns on this account.

Update ( DoNotContact dnc ) : void

Update a Do Not Contact (DNC) contact value. Can toggle whether the DNC is enabled for calls/texts.

Приватные методы

Метод Описание
DncApi ( RestApiClient client ) : CallfireApiClient.Api.Common.Model

Описание методов

Find() публичный Метод

Find all Do Not Contact (DNC) objects created by the user. These DoNotContact entries only affect calls/texts/campaigns on this account.
in case HTTP response code is 400 - Bad request, the request was formatted improperly. in case HTTP response code is 401 - Unauthorized, API Key missing or invalid. in case HTTP response code is 403 - Forbidden, insufficient permissions. in case HTTP response code is 404 - NOT FOUND, the resource requested does not exist. in case HTTP response code is 500 - Internal Server Error. in case HTTP response code is something different from codes listed above. in case error has occurred in client.
public Find ( FindDncContactsRequest request ) : Page
request CallfireApiClient.Api.Contacts.Model.Request.FindDncContactsRequest find request with different properties to filter
Результат Page

Update() публичный Метод

Update a Do Not Contact (DNC) contact value. Can toggle whether the DNC is enabled for calls/texts.
in case HTTP response code is 400 - Bad request, the request was formatted improperly. in case HTTP response code is 401 - Unauthorized, API Key missing or invalid. in case HTTP response code is 403 - Forbidden, insufficient permissions. in case HTTP response code is 404 - NOT FOUND, the resource requested does not exist. in case HTTP response code is 500 - Internal Server Error. in case HTTP response code is something different from codes listed above. in case error has occurred in client.
public Update ( DoNotContact dnc ) : void
dnc CallfireApiClient.Api.Contacts.Model.DoNotContact DNC item to update
Результат void