Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Operation

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

Rw ui textbox macro
typewarning

Only accessible with permission of pms.integration.common


Style
table {
width: 100%;
}
body.page-gadget {
padding-top: 20px;
}
.separator{
margin: 5px 0;
}



Div
style background-color: green; color: white; display: inline-block; padding: 5px; border-radius: 3px;

GET



Div
stylebackground-color: #0a2b1d; padding: 10px 1em; display: inline-block; color: white; border-radius: 3px;

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



Request

Info
This request has no parameters.


Example request

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



Response

Array of Municipality elements.

Entity

Insert excerpt
Municipality
Municipality
nopaneltrue

Example response

Code Block
themeDJango
[
    {
        "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"
            }
        }
    } ...
]