GET api/Municipios
Obtiene la lista de municipios disponibles en NeoCom.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Municipio| Name | Description | Type | Additional information |
|---|---|---|---|
| IdMunicipio | integer |
None. |
|
| Nombre | string |
None. |
|
| Comarca | Comarca |
None. |
|
| VillaDeMadrid | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"IdMunicipio": 1,
"Nombre": "sample string 2",
"Comarca": {
"IdComarca": 1,
"Nombre": "sample string 1"
},
"VillaDeMadrid": true
},
{
"IdMunicipio": 1,
"Nombre": "sample string 2",
"Comarca": {
"IdComarca": 1,
"Nombre": "sample string 1"
},
"VillaDeMadrid": true
}
]
application/xml, text/xml
Sample:
<ArrayOfMunicipio xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NeocomAPI.Models">
<Municipio>
<Comarca>
<IdComarca>1</IdComarca>
<Nombre>sample string 1</Nombre>
</Comarca>
<IdMunicipio>1</IdMunicipio>
<Nombre>sample string 2</Nombre>
<VillaDeMadrid>true</VillaDeMadrid>
</Municipio>
<Municipio>
<Comarca>
<IdComarca>1</IdComarca>
<Nombre>sample string 1</Nombre>
</Comarca>
<IdMunicipio>1</IdMunicipio>
<Nombre>sample string 2</Nombre>
<VillaDeMadrid>true</VillaDeMadrid>
</Municipio>
</ArrayOfMunicipio>