Municipality By Country List [GET]

Operation

This operation allow you to get a list of all the municipality's available in the system.

GET
https://{environment}.ulysescloud.com/public/api/{version}/stateProv/{stateProvId}/municipality


Request

This request has no parameters.

Example request

GET https://publicapi-dev.ulysescloud.com/public/api/v1/stateProv/1/municipality


Response

Array of Municipality elements.

Entity


FieldTypeRequiredDescription
idInteger
id
codeString
Code
nameString
Name
nameI18nString
NameI18n
stateProvString
State Province

Example response

[
    {
        "id": 2127,
        "code": "001",
        "name": "Abegondo",
        "nameI18n": null,
        "stateProv": {
            "id": 1,
            "code": "ES-C",
            "name": "La Coruña",
            "nameI18n": null,
            "country": {
                "id": 199,
                "code": "ESP",
                "name": "SPAIN",
                "nameI18n": "SPAIN"
            }
        }
    },
    {
        "id": 2128,
        "code": "002",
        "name": "Ames",
        "nameI18n": null,
        "stateProv": {
            "id": 1,
            "code": "ES-C",
            "name": "La Coruña",
            "nameI18n": null,
            "country": {
                "id": 199,
                "code": "ESP",
                "name": "SPAIN",
                "nameI18n": "SPAIN"
            }
        }
    },
    {
        "id": 2129,
        "code": "003",
        "name": "Aranga",
        "nameI18n": null,
        "stateProv": {
            "id": 1,
            "code": "ES-C",
            "name": "La Coruña",
            "nameI18n": null,
            "country": {
                "id": 199,
                "code": "ESP",
                "name": "SPAIN",
                "nameI18n": "SPAIN"
            }
        }
    } ...
]