DELETE Api/Countries/{id}

Usuwa asynchronicznie obiekt Country z bazy danych

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

identyfikator obiektu

integer

Required

Body Parameters

None.

Response Information

Resource Description

CountryDto
NameDescriptionTypeAdditional information
CountryId

integer

Required

Name

string

Required

Response Formats

application/json, text/json

Sample:
{
  "countryId": 1,
  "name": "sample string 2"
}

multipart/form-data

Sample:
{"countryId":1,"name":"sample string 2"}

application/xml, text/xml

Sample:
<CountryDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <CountryId>1</CountryId>
  <Name>sample string 2</Name>
</CountryDto>