GET municipality?orderbyCode={orderbyCode}
Lists all municipalities.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
orderbyCode | Resultset is ordered by Name by default, by Code if orderbyCode=true |
Define this parameter in the request URI. |
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{ "municipalities": [ { "municipalityCode": "sample string 1", "municipalityName": "sample string 2" }, { "municipalityCode": "sample string 1", "municipalityName": "sample string 2" }, { "municipalityCode": "sample string 1", "municipalityName": "sample string 2" } ], "result": { "succes": true, "startTimeStamp": "2024-11-21T20:29:06.5517397+00:00", "endTimeStamp": "2024-11-21T20:29:06.5517397+00:00", "elapsed": 4, "errorMessage": "sample string 5" } }
application/xml, text/xml
Sample:
<Municipalities xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <MunicipalityList> <MunicipalityItem> <MunicipalityCode>sample string 1</MunicipalityCode> <MunicipalityName>sample string 2</MunicipalityName> </MunicipalityItem> <MunicipalityItem> <MunicipalityCode>sample string 1</MunicipalityCode> <MunicipalityName>sample string 2</MunicipalityName> </MunicipalityItem> <MunicipalityItem> <MunicipalityCode>sample string 1</MunicipalityCode> <MunicipalityName>sample string 2</MunicipalityName> </MunicipalityItem> </MunicipalityList> <Result> <Success>true</Success> <StartTimeStamp>2024-11-21T20:29:06.5517397+00:00</StartTimeStamp> <EndTimeStamp>2024-11-21T20:29:06.5517397+00:00</EndTimeStamp> <Elapsed>4</Elapsed> <ErrorMessage>sample string 5</ErrorMessage> </Result> </Municipalities>