C# Class CallfireApiClient.Api.Contacts.DncApi

Datei anzeigen Open project: CallFire/callfire-api-client-csharp

Public Methods

Method Description
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.

Private Methods

Method Description
DncApi ( RestApiClient client ) : CallfireApiClient.Api.Common.Model

Method Details

Find() public method

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
return Page

Update() public method

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
return void