BidSubmit command

Validates input from the BidCreateForm command or the BidUpdateForm command. If the required parameter values are valid, a new row is created in the BID table. If an existing bid is updated, a new row is created in the BIDLOG table to reflect the existing bid data. The bid message field in this new BIDLOG row is set to Superseded.

Command structure

http://host_name/path/
The fully qualified name of your WebSphere Commerce Server and the configuration path.

Diagram of the command structure: the command starts with the fully qualified name of your WebSphere Commerce Server and the configuration path, followed by the command name, BidSubmit  and the ? character. End the command with a list of parameters in the form of name value pairs. Separate each name value pair with the & character. For a detailed description of the parameters and their values, refer to the list entitled Parameter values.

Parameter values

aucrfn
(Required) The reference number of the auction for which a bid is being submitted.
bidrfn
(Required) The reference number of the new bid that is being submitted.
bidquant
(Required) The quantity of products being bid for.
bidval
(Required) The price the bidder is willing to pay for each product.
bidauthflg
(Required) The authorization flag. Authorizes a deduction from the specified credit card. The only value currently accepted is on (enabled).
bidshprfn
(Required) The shipping address reference number.
bidbillrfn
(Required) The billing address reference number.
redirecturl
(Required) The URL that is called when the command completes successfully.
bidshpmod
(Required) The shipping mode reference number.
bidquantflg
The partial quantity flag. By default the full quantity is required unless specified otherwise.
bidcreatetime
The time the bid or autobid was created. The default is set to the current system (server) time.
bid_action
(Required) The action to be taken by the bid: create or update.
paymentPolicyString
(Required) String which contains the following payment information:
policyId
The ID of payment policy.
cardBrand
The name of payment card brand.
cardNumber
The payment card number.
cardExpiryMonth
The month after which the payment card expires.
cardExpiryYear
The year after which the payment card expires.
policyChange
(Required) The payment selection index.

Example

This example submits a new bid:

http://myhostname/webapp/wcs/stores/servlet/BidSubmit?paymentPolicyString=policyId=200;
   cardBrand=Brand2;cardNumber=111111111111;cardExpiryMonth=01;cardExpiryYear=2004
   &PolicyChange=0&redirecturl=AuctionAckView&aucrfn=10001&bid_action=create
   &bidrfn=B2-104743514582-110847&bidval=999&bidquant=1&bidquantflg=On&bidauthflg=On
   &bidbillrfn=10051&bidshprfn=10051&bidshpmod=10001

Behavior

Exception Conditions