GET api/Municipalities

Returns all municipalitites available in the system.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Municipality
NameDescriptionTypeAdditional information
Id

The id of the municipality.

integer

None.

Name

The name of the municipality.

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2"
  },
  {
    "Id": 1,
    "Name": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfMunicipality xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GuideDenmark.External.Data.Model">
  <Municipality>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </Municipality>
  <Municipality>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </Municipality>
</ArrayOfMunicipality>