GET api/municipality/getmunicipality?id={id}

Hämtar en specifik kommun

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

ID för en kommun

integer

Required

Body Parameters

None.

Response Information

Resource Description

MunicipalityDTO
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

CountyId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 1",
  "countyId": 3
}

application/xml, text/xml

Sample:
<Municipality xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <CountyId>3</CountyId>
  <Id>1</Id>
  <Name>sample string 1</Name>
</Municipality>