AutoBidDelete URL
Allows customers to withdraw autobids they have submitted for Open Cry auctions.
URL structure
- http:// host_name/path/
- The fully qualified name of your WebSphere Commerce Server and the configuration path
Parameter values
- autobid_id
- The autobid reference numbers to be deleted
- URL
- The URL that is called when the command successfully completes
Example
This example deletes autobid 6759:
https://myhostname/webapp/wcs/stores/servlet/AutoBidDelete?autobid_id=6759&URL=ShopperBidListView&status=C
Behavior
For each autobid reference number listed, this URL does the following tasks:
- Validates the autobid ID using the AutoBidAccessBean.
- Looks up the auction ID associated with the autobid, and validates the auction ID.
- Calls the CheckAutoBidDeleteAuthorization task command to determine whether the customer may delete the indicated autobid.
- Looks up the most recent bid ID associated with the autobid, and validates the bid ID.
- Calls the CheckBidDeleteAuthorization task command to determine whether the customer may delete the bid, and if appropriate, marks the bid as retracted.
- Calls the DoDepositPayment task command to refund any potential deposit.
- Marks the autobid as retracted, and redirects to the indicated URL.
Exception Conditions
- If mandatory parameters are null, throws ECApplicationException with a relevant message
- If the command context is null, throws ECApplicationException with a relevant message
- ECSystemException if any auction ID, autobid ID, or bid ID lookup fails
- ECSystemException if any task command cannot be created or generates any error
- ECApplicationException if any auction is not current, or is not Sealed Bid or Open Cry
- ECApplicationException if a bidder is not authorized to delete bids or an autobid