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.
-
sessionHandle | String | required
User's session identifier received using the doLogin(Enc) method. -
usersBlackListArray | UserBlackListStruct[] | required
Arrays with structures containing information users to be added to blacklist (max. 25).-
userId | Integer | required
User identifier. -
userBlackListNote | String
Memo describing reasons of adding a user to blacklist.
-
userId | Integer | required
-
userBlackListResultsArr | UserBlackListAddResultStruct[]
Array of structures containing information on operation results.-
userId | Integer
User identifier. -
addToBlackListResult | Integer
Result of an attempt of adding a user to blacklist (1 - positive, 0 - negative). -
addToBlackListErrCode | String | required
Error code indicating a reason of the failure (for negative result). -
addToBlackListErrMsg | String | required
Error message describing a reason of the failure (for the negative result).
-
userId | Integer
-
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.