Aukro WebAPI


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.
    Invalid country identifier (zero or empty value has been provided in the parameter).
    Expiry date of WebAPI key has been exceeded (not applicable PL).
    Invalid value of WebAPI key or WebAPI key has been blocked.
    WebAPI key used to generate the session has been deactivated (the key owner has not accepted WebAPI User Agreement).