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
- http:// host_name/path/
- The fully qualified name of your 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 invalid.
Related concepts
AuctionsRelated tasks
Enabling auctionsRelated reference
AutoBidCreateForm URL
AutoBidSubmit URL
AutoBidUpdateForm URL
AutoBidDelete URL
BidCreateForm URL
BidDelete URL
BidSubmit URL
BidUpdateForm URL
CloseBidding URL
DeleteMail URL
DisplayAuctionRules URL
DisplayMessage URL
DisplayAuctionItem URL
DoAuctionNotify URL
FinalizeAuction URL
GalleryDelete URL
ModifyForumMessageList URL
MonitorAuctions URL
ProcessAutoBids URL
ProcessDutchBids URL
ProcessOpenCryBids URL
ShopperCreateForumMessage URL
CompleteOrder URL
Trading subsystem URLs