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


FieldTypeRequiredDescription
idIntegertrueUnique identifier for the

StateProv.

codeStringtrueCode of the

StateProv.

nameStringtrueName of the

StateProv.

countryCodeStringtrueCountry 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"
		}
	}...
]