IBlacklistService

Interface to work with blacklist

Methods


GetAsync(int blackListItemId)

Get telephone number from the blacklist by the unique identifier

Parameters

blackListItemId

Unique identifier of the telephone number

Returns

Telephone blacklist item


GetAsync(string odataQuery)

Get telephone numbers from the blacklist using OData filter

Parameters

odataQuery

OData query object

Returns

List of the telephone blacklist items


AddAsync(TelephoneBlacklistItem newItem)

Add telephone number to the blacklist

Parameters

newItem

Telephone number to be added to the blacklist

Returns

Unique identifier of the new interviewer group


ImportAsync(TelephoneBlacklistItems items)

Add an array of telephone numbers to the blacklist

Parameters

items

Object which stored list of the telephone numbers to be added to the blacklist


PutAsync(int blacklistItemId, TelephoneBlacklistItem updateItem)

Update telephone number in the blacklist

Parameters

blacklistItemId

Unique identifier of the telephone number in the blacklist to be updated

updateItem

New blacklist item data


DeleteAsync(int blacklistItemId)

Delete telephone number from the blacklist

Parameters

blacklistItemId

Unique identifier of the telephone number in the blacklist to be deleted