Aukro WebAPI
doGetCategoryPath
This method allows for loading category path for the category identifier provided on call.
-
sessionId | String | required
User's session identifier received using the doLogin(Enc) method. -
categoryId | Integer
Category identifier.
-
categoryPath | CategoryData[]
Array of structures containing information on category structure.-
catId | Integer
Category identifier. -
catParent | Integer
Supracategory identifier (or 0 for main categories). -
catCountry | Integer
Identifier of country where that category is present. -
catLevel | Integer
Level in a category structure. -
catIsLeaf | Integer
Information whether a given category is the lowest tier category (0 - no, 1 - yes). -
catName | String | required
Category name. -
catOptions | Integer
Bitmask informing on category attributes (1 - category is hidden).
-
catId | Integer
-
ERR_INCORRECT_CATEGORY_ID
Incorrect category identifier. -
ERR_NO_SESSION / ERR_SESSION_EXPIRED
Invalid session identifier or the session has expired. -
ERR_WEBAPI_KEY_INACTIVE
The session-generating WebAPI key has been deactivated (the owner did not accept the User Agreement).