POST api/blacklist

Creates a new blacklist entry with the given information

Request Information

URI Parameters

None.

Body Parameters

Blacklist data of new entry

BlacklistEntryNewDTO
NameDescriptionTypeAdditional information
Phone

Blacklisted phone number

string

Required

Request Formats

application/json, text/json

Sample:
{
  "Phone": "sample string 1"
}

Response Information

Resource Description

New blacklist entry

BlacklistEntryDTO
NameDescriptionTypeAdditional information
ID

Blacklist entry ID

integer

None.

Created

Timestamp when blacklist entry was added

date

None.

Phone

Blacklisted phone number

string

Required

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Created": "2019-10-23T22:28:05.0637018+00:00",
  "Phone": "sample string 2"
}