AutoBidSubmit command

Validates input from the AutoBidCreateForm and AutoBidUpdateForm commands. If the input is valid, a new row is created in the AUTOBID table. If an existing autobid is being updated, the status of the old bid is marked as Superseded and the old bid is moved to the AUTOBIDLOG table.

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, AutoBidSubmit  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
The reference number of the auction for the autobid being submitted.
autobidrfn
The reference number of the autobid to be created.
bidquant
The requested quantity.
maxbidlimit 
The upper limit for the autobid.
bidval 
The initial bid value. If present, a bid is created on behalf of the autobid with the initial value set to this bid value.
bidauthflg 
Deposit authorization flag. Authorizes a deduction from the specified credit card. The only value accepted currently is on (enabled).
bidshprfn 
The shipping address reference number
redirecturl 
Redirection URL. The page corresponding to this URL loads when the controller command completes execution successfully.
bidbillrfn
The billing address reference number.
bidshpmod 
Shipping mode reference number.
bidquantflg 
Partial quantity flag. By default, the full quantity is required unless otherwise specified. 
bidcreatetime 
The time the corresponding autobid was created.
autobid_action
The action to be taken by the autobid: create or update.
paymentPolicyString
String which contains the following payment information:
policyId
The ID of payment policy.
cardBrand
The credit card brand.
cardNumber
The credit card number.
cardExpiryMonth
The month after which the credit card expires.
cardExpiryYear
The year after which the credit card expires.
storeID
The ID of the store hosting the auction for which you are submitting a bid.

Example

This example submits a new autobid for auction 10001 (autobid number = A2-104737209889-147096)

https://myhostname/webapp/wcs/stores/servlet/AutoBidSubmit
   ?paymentPolicyString=policyId=200;cardBrand=Brand2;cardNumber=111111111111;
   cardExpiryMonth=01;cardExpiryYear=2004&storeId=10001&redirecturl=AuctionAckView
   &aucrfn=10001&autobid_action=create&autobidrfn=A2-104737209889-147096&bidval=10
   &maxbidlimit=200&bidquant=2&bidquantflg=On&bidauthflg=On&bidbillrfn=10051
   &bidshprfn=10051&bidshpmod=10001

Behavior

Exception Conditions

If mandatory incoming parameters are null or if incoming parameters are invalid, sets the  EC_AUTOBID_SUBMIT_ERROR_VIEW_CMD exception task to handle the error.