Aukro WebAPI

doAddToBlackList

This method allows for adding indicated users to a blacklist. Users from the blacklist cannot buy items from the owner of the list.

  1. sessionHandle | String | required
    User's session identifier received using the doLogin(Enc) method.
  2. usersBlackListArray | UserBlackListStruct[] | required
    Arrays with structures containing information users to be added to blacklist (max. 25).
    1. userId | Integer | required
      User identifier.
    2. userBlackListNote | String
      Memo describing reasons of adding a user to blacklist.
  1. userBlackListResultsArr | UserBlackListAddResultStruct[]
    Array of structures containing information on operation results.
    1. userId | Integer
      User identifier.
    2. addToBlackListResult | Integer
      Result of an attempt of adding a user to blacklist (1 - positive, 0 - negative).
    3. addToBlackListErrCode | String | required
      Error code indicating a reason of the failure (for negative result).
    4. addToBlackListErrMsg | String | required
      Error message describing a reason of the failure (for the negative result).
  • ERR_CANT_ADD_YOURSELF_TO_BLACK_LIST
    You cannot add yourself to blacklist.
  • ERR_NO_SESSION / ERR_SESSION_EXPIRED
    Invalid session identifier or the session has expired.
  • ERR_USER_ALREADY_ADDED_TO_BLACK_LIST
    This user is already on the black list.
  • ERR_USER_IS_GUEST
    This user has not registered an account on the site.
  • ERR_USER_NOT_FOUND
    Invalid user identifier.
  • ERR_USERS_ARRAY_OVERSIZED
    No user identifier has been provided or the number of identifiers exceeds the acceptable limit (max. 25).
  • ERR_WEBAPI_KEY_INACTIVE
    The session-generating WebAPI key has been deactivated (the owner did not accept the User Agreement).
  • ERR_WEBAPI_NOT_AVAIL
    Problems with Aukro WebAPI service.