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

Lists all sections (by departmentCode and municipalityCode).

Example

Request Information

Parameters

NameDescriptionAdditional information
municipalityCode
Resultset is filtered by municipalityCode

Define this parameter in the request URI.

departmentCode
Resultset is filtered by departmentCode

Define this parameter in the request URI.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "sections": [
    {
      "sectionCode": "sample string 1"
    },
    {
      "sectionCode": "sample string 1"
    },
    {
      "sectionCode": "sample string 1"
    }
  ],
  "result": {
    "succes": true,
    "startTimeStamp": "2024-11-22T08:24:00.0457923+00:00",
    "endTimeStamp": "2024-11-22T08:24:00.0457923+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>
    <SectionItem>
      <SectionCode>sample string 1</SectionCode>
    </SectionItem>
  </SectionList>
  <Result>
    <Success>true</Success>
    <StartTimeStamp>2024-11-22T08:24:00.0457923+00:00</StartTimeStamp>
    <EndTimeStamp>2024-11-22T08:24:00.0457923+00:00</EndTimeStamp>
    <Elapsed>4</Elapsed>
    <ErrorMessage>sample string 5</ErrorMessage>
  </Result>
</Sections>