GET municipality/{municipalityCode}/department/{departmentCode}?geometry={geometry}&srs={srs}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| municipalityCode | string |
Required |
|
| departmentCode | string |
Required |
|
| geometry | string |
Default value is bbox |
|
| srs | string |
Default value is 31370 |
Body Parameters
None.
Response Information
Resource Description
DepartmentObject| Name | Description | Type | Additional information |
|---|---|---|---|
| municipalityCode | string |
None. |
|
| municipalityName | string |
None. |
|
| departmentCode | string |
None. |
|
| departmentName | string |
None. |
|
| geometry | Geometry |
None. |
|
| result | Result |
None. |
Response Formats
application/json, text/json
Sample:
{
"municipalityCode": "sample string 1",
"municipalityName": "sample string 2",
"departmentCode": "sample string 3",
"departmentName": "sample string 4",
"geometry": {
"boundingBox": "sample string 1",
"center": "sample string 2",
"shape": "sample string 3"
},
"result": {
"succes": true,
"startTimeStamp": "2025-10-18T11:10:41.1605481+00:00",
"endTimeStamp": "2025-10-18T11:10:41.1605481+00:00",
"elapsed": 4,
"errorMessage": "sample string 5"
}
}
application/xml, text/xml
Sample:
<DepartmentObject xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<MunicipalityCode>sample string 1</MunicipalityCode>
<MunicipalityName>sample string 2</MunicipalityName>
<DepartmentCode>sample string 3</DepartmentCode>
<DepartmentName>sample string 4</DepartmentName>
<Geometry>
<boundingBoxGml xmlns="http://www.opengis.net/gml">sample string 4</boundingBoxGml>
<centerGml xmlns="http://www.opengis.net/gml">sample string 5</centerGml>
<shapeGml xmlns="http://www.opengis.net/gml">sample string 6</shapeGml>
</Geometry>
<Result>
<Success>true</Success>
<StartTimeStamp>2025-10-18T11:10:41.1605481+00:00</StartTimeStamp>
<EndTimeStamp>2025-10-18T11:10:41.1605481+00:00</EndTimeStamp>
<Elapsed>4</Elapsed>
<ErrorMessage>sample string 5</ErrorMessage>
</Result>
</DepartmentObject>