Reference > Shop flow URLs > Trading subsystem URLs > Auction URLs
UpdateGallery URL
Updates the MEMBRAUCT table with the specified customer-auction relation types (auction-in-gallery, customer-has-viewed-rules).
Updates the MEMBRAUCT table with the specified customer-auction relation types (auction-in-gallery, customer-has-viewed-rules).
URL structure
name-value pair with the & character. For a detailed description of the parameters and their values, see the list entitled Parameter values." />
- http:// host_name/path/
- The fully qualified name of the WebSphere Commerce Server and the configuration path.
Parameter values
- aucrfn
- Required: The reference number of the auction to be added to the customer's gallery.
- URL
- Required: The URL to be called upon successful completion.
- GA
- When GA=1, the auction is put in the bidder's gallery.
- VR
- When VR=1, a row is put in the MEMBRAUCT table to indicate the bidder has viewed the auction rules.
Example
This example updates a customer's auction gallery, redirects to the specified URL, and updates the MEMBRAUCT table with the saved settings:
http://myhostname/webapp/wcs/stores/servlet/UpdateGallery?aucrfn=200122&url=ShopperAuctionListView&GA=1&VR=1
Behavior
- Calls the UserAccessBean to verify that the customer is registered.
- Calls the AuctionAccessBean to check that the incoming auction reference number is valid. The auction is considered valid if the auction exists in the AUCTION table.
- Calls AuctionAccessBean method is InGallery() to determine whether to add a row to the MEMBRAUCT table with GA in the RELATIONTYPE column.
- Calls the AuctionAccessBean method isAuctionRuleViewed() to determine whether to add a row to the MEMBRAUCT table with VR in the RELATIONTYPE column.
- Redirects to the specified URL.
Exception Conditions
Sets ECApplicationException if the user is not registered or if the auction reference number is incorrect.
Related concepts
Related tasks
Related reference