GET municipality/{municipalityCode}/department/{departmentCode}/section

Lists all sections (by departmentCode and municipalityCode).

Request Information

URI Parameters

NameDescriptionTypeAdditional information
municipalityCode

Resultset is filtered by municipalityCode

string

Required

departmentCode

Resultset is filtered by departmentCode

string

Required

Body Parameters

None.

Response Information

Resource Description

Sections
NameDescriptionTypeAdditional information
sections

Collection of SectionItem

None.

result

Result

None.

Response Formats

application/json, text/json

Sample:
{
  "sections": [
    {
      "sectionCode": "sample string 1"
    },
    {
      "sectionCode": "sample string 1"
    }
  ],
  "result": {
    "succes": true,
    "startTimeStamp": "2025-12-18T10:21:39.668142+00:00",
    "endTimeStamp": "2025-12-18T10:21:39.668142+00:00",
    "elapsed": 4,
    "errorMessage": "sample string 5"
  }
}

application/xml, text/xml

Sample:
<Sections xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <SectionList>
    <SectionItem>
      <SectionCode>sample string 1</SectionCode>
    </SectionItem>
    <SectionItem>
      <SectionCode>sample string 1</SectionCode>
    </SectionItem>
  </SectionList>
  <Result>
    <Success>true</Success>
    <StartTimeStamp>2025-12-18T10:21:39.668142+00:00</StartTimeStamp>
    <EndTimeStamp>2025-12-18T10:21:39.668142+00:00</EndTimeStamp>
    <Elapsed>4</Elapsed>
    <ErrorMessage>sample string 5</ErrorMessage>
  </Result>
</Sections>