GET Api/Countries/{id}

Wyszukuje object Country po jego identyfikatorze

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

unikalny identyfikator obiektu

integer

Required

Body Parameters

None.

Response Information

Resource Description

obiekt Country posiadajÄ…cy wybrany identyfikator

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>