Aukro WebAPI

doGetCategoryPath

This method allows for loading category path for the category identifier provided on call.

  1. sessionId | String | required
    User's session identifier received using the doLogin(Enc) method.
  2. categoryId | Integer
    Category identifier.
  1. categoryPath | CategoryData[]
    Array of structures containing information on category structure.
    1. catId | Integer
      Category identifier.
    2. catParent | Integer
      Supracategory identifier (or 0 for main categories).
    3. catCountry | Integer
      Identifier of country where that category is present.
    4. catLevel | Integer
      Level in a category structure.
    5. catIsLeaf | Integer
      Information whether a given category is the lowest tier category (0 - no, 1 - yes).
    6. catName | String | required
      Category name.
    7. catOptions | Integer
      Bitmask informing on category attributes (1 - category is hidden).
  • 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).