Aukro WebAPI

doGetStatesInfo

This method allows for loading list of regions (for Poland - provinces) of the selected country.

  1. countryId | Integer | required
    Country identifier (a list of country identifiers can be loaded using the doGetCountries method).
  2. webapiKey | String | required
    User's WebAPI key.
  1. statesInfoArray | StateInfoStruct[]
    Array of structures containing information on regions.
    1. stateId | Integer
      Region identifier.
    2. stateName | String | required
      Region name.
  • 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).