Aukro WebAPI
doFinishItem
This method allows for closing the offer (both ongoing and scheduled for listing) of a logged-in user before scheduled time (with or without cancellation of bids).
-
sessionHandle | String | required
User's session identifier received using the doLogin(Enc) method. -
finishItemId | Long | required
Offer identifier. -
finishCancelAllBids | Integer
Information on whether bids are to be cancelled together with closing the offer (1 - yes, 0 - no; default value is 0; only bids placed in the bidding process are cancelled). -
finishCancelReason | String | non-required (required if finishCancelAllBids = 1)
Reason for cancellation of bids.
-
finishValue | Integer
Operation result (1 - offer has been ended, 0 - offer has not been ended).
-
ERR_BLOCKED_USER_CANT_INVOKE_METHOD
User's account is blocked. -
ERR_GIVE_CANCEL_BIDS_REASON
If an offer is to be ended with a bid cancellation, then the reason of cancellation is required. -
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
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. -
ERR_YOU_CANT_CHANGE_ITEM
You cannot edit the offer because the queue contains an unexecuted operation of editing this offer.