Aukro WebAPI

doMyAccountItemsCount

This method allows for loading information on number of offers in particular tabs of My Allegro (bid, bought, not bought, watched: ongoing, watched: ended, on sale, sold, not sold, to be listed) of a logged-in user. It is possible to load information on number of offers from the given tab using the list passed in itemsArray.

  1. sessionHandle | String | required
    User's session identifier received using the doLogin(Enc) method.
  2. accountType | String | required
    Selected type of My Allegro tab (bid - offers from the Bidding tab, won - offers from the Bought tab, not_won - offers from the Not bought tab, watch - offers from the Watched: Ongoing tab, watch_cl - offers from the Watched: Ended tab, sell - offers from the Selling tab, sold - offers from the Sold tab, not_sold - offers from the Not sold tab, future - offers from the Scheduled for listing tab).
  3. itemsArray | Long[]
    Array of offer identifiers.
  1. myaccountItemsCount | Integer
    Number of offers of the given type.
  • ERR_NO_DATABASE
    Problems with Allegro database.
  • ERR_NO_SESSION / ERR_SESSION_EXPIRED
    Invalid session identifier or the session has expired.
  • ERR_WEBAPI_KEY_INACTIVE
    WebAPI key used to generate the session has been deactivated (the key owner has not accepted WebAPI User Agreement).
  • ERR_WEBAPI_NOT_AVAIL
    Problems with Aukro WebAPI service.