GET municipality/{municipalityCode}/department/{departmentCode}/section/{sectionCode}?geometry={geometry}&srs={srs}

Get section details. Select municipality by municipalityCode,department by departmentCode and section by sectionCode.

Example

Request Information

Parameters

NameDescriptionAdditional information
municipalityCode
the municipalityCode of the City

Define this parameter in the request URI.

departmentCode
the departmentCode of the Department

Define this parameter in the request URI.

sectionCode
the sectionCode of the Section

Define this parameter in the request URI.

geometry
optional parameter to return geometry information. [bbox|no|full]
            bbox (default): return center and envelope
            no: no geometry information 
            full: same as bbox, but returns the actual geometry as well

Define this parameter in the request URI.

srs
optional parameter to choose an srs. [31370|4326|3857]
            31370: Lambert72 (default)
            4326: Wgs84
            3857: WebMercator

Define this parameter in the request URI.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "municipalityCode": "sample string 1",
  "municipalityName": "sample string 2",
  "departmentCode": "sample string 3",
  "departmentName": "sample string 4",
  "sectionCode": "sample string 5",
  "geometry": {
    "boundingBox": "sample string 1",
    "center": "sample string 2",
    "shape": "sample string 3"
  },
  "result": {
    "succes": true,
    "startTimeStamp": "2024-05-18T06:55:22.0781486+00:00",
    "endTimeStamp": "2024-05-18T06:55:22.0781486+00:00",
    "elapsed": 4,
    "errorMessage": "sample string 5"
  }
}

application/xml, text/xml

Sample:
<SectionObject 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>
  <SectionCode>sample string 5</SectionCode>
  <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>2024-05-18T06:55:22.0781486+00:00</StartTimeStamp>
    <EndTimeStamp>2024-05-18T06:55:22.0781486+00:00</EndTimeStamp>
    <Elapsed>4</Elapsed>
    <ErrorMessage>sample string 5</ErrorMessage>
  </Result>
</SectionObject>