GET api/municipality/getmunicipalities?ids={ids}
Hämtar specifika kommuner
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ids |
Kommaseparerade ID:n för flera kommuner |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of MunicipalityDTO| Name | Description | Type | Additional 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
},
{
"id": 1,
"name": "sample string 1",
"countyId": 3
}
]
application/xml, text/xml
Sample:
<ArrayOfMunicipality xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Municipality>
<CountyId>3</CountyId>
<Id>1</Id>
<Name>sample string 1</Name>
</Municipality>
<Municipality>
<CountyId>3</CountyId>
<Id>1</Id>
<Name>sample string 1</Name>
</Municipality>
</ArrayOfMunicipality>