Aukro WebAPI
doGetCatsData
This method allows for loading a full tree of categories available in a selected country.
-
countryId | Integer | required
Country identifier (a list of country identifiers can be loaded using the doGetCountries method). -
localVersion | Long
Outdated parameter (it is required to enter any value appropriate for the parameter type). -
webapiKey | String | required
User's WebAPI key.
-
catsList | CatInfoType[]
Array of structures containing information on each category.-
catId | Integer
Category identifier. -
catName | String | required
Category name. -
catParent | Integer
Supracategory identifier (or 0 for main categories). -
catPosition | Integer
Position of a category in comparison with other categories of the same tier (indexed from 0). -
catIsProductCatalogueEnabled | Integer
Outdated field (will always return 0).
-
catId | Integer
-
verKey | Long
Version key value relevant for a selected country and WebAPI key provided -
verStr | String | required
Component version of a category’s tree structure relevant for a WebAPI key provided.
-
ERR_INPUT_COUNTRY_ERROR
Invalid country identifier (zero or empty value or value different from 56 has been provided in the countryId parameter). -
ERR_NO_DATABASE
Problems with Allegro database. -
ERR_WEBAPI_EXPIRED
Expiry date of WebAPI key has been exceeded. -
ERR_WEBAPI_KEY
Invalid value of WebAPI key or WebAPI key has been blocked. -
ERR_WEBAPI_KEY_INACTIVE
The WebAPI key has been deactivated (User Agreement not accepted). -
ERR_WEBAPI_NOT_AVAIL
Problems with Aukro WebAPI service.