List of StateProv [GET]
Operation
Returns a List of StateProv from a Country
GET
https://{environment}.ulysescloud.com/public/api/{version}/stateProv
Request
Example request
GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/stateProv
Response
Entity
StateProv. StateProv. StateProv.Field Type Required Description id Integer true Unique identifier for the code String true Code of the name String true Name of the countryCode String true Country of the StateProv. ISO 3166-1 alpha-2
Example response
[ { "id": 1, "code": "ES-C", "name": "La Coruña", "nameI18n": null, "country": { "id": 199, "code": "ESP", "name": "SPAIN", "nameI18n": "SPAIN" } }, { "id": 2, "code": "ES-VI", "name": "Álava", "nameI18n": null, "country": { "id": 199, "code": "ESP", "name": "SPAIN", "nameI18n": "SPAIN" } }, { "id": 3, "code": "ES-AB", "name": "Albacete", "nameI18n": null, "country": { "id": 199, "code": "ESP", "name": "SPAIN", "nameI18n": "SPAIN" } }, { "id": 4, "code": "ES-A", "name": "Alicante", "nameI18n": null, "country": { "id": 199, "code": "ESP", "name": "SPAIN", "nameI18n": "SPAIN" } }... ]