POST api/blacklist?multiple={multiple}

Creates multiple new blacklist entries with the given information

Request Information

URI Parameters

NameDescriptionTypeAdditional information
multiple

Any value is valid eg. 1, true, yes, etc.

string

Required

Body Parameters

Blacklist data of new entries

Collection of BlacklistEntryNewDTO
NameDescriptionTypeAdditional information
Phone

Blacklisted phone number

string

Required

Request Formats

application/json, text/json

Sample:
[
  {
    "Phone": "sample string 1"
  },
  {
    "Phone": "sample string 1"
  }
]

Response Information

Resource Description

New blacklist entries

Collection of 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:26:39.2696466+00:00",
    "Phone": "sample string 2"
  },
  {
    "ID": 1,
    "Created": "2019-10-23T22:26:39.2696466+00:00",
    "Phone": "sample string 2"
  }
]