Aukro WebAPI
doGetStatesInfo
This method allows for loading list of regions (for Poland - provinces) of the selected country.
-
countryId | Integer | required
Country identifier (a list of country identifiers can be loaded using the doGetCountries method). -
webapiKey | String | required
User's WebAPI key.
-
statesInfoArray | StateInfoStruct[]
Array of structures containing information on regions.-
stateId | Integer
Region identifier. -
stateName | String | required
Region name.
-
stateId | Integer
-
ERR_INPUT_COUNTRY_ERROR
Invalid country identifier (zero or empty value has been provided in the parameter). -
ERR_WEBAPI_EXPIRED
Expiry date of WebAPI key has been exceeded (not applicable PL). -
ERR_WEBAPI_KEY
Invalid value of WebAPI key or WebAPI key has been blocked. -
ERR_WEBAPI_KEY_INACTIVE
WebAPI key used to generate the session has been deactivated (the key owner has not accepted WebAPI User Agreement).