RFQCreate command (Business Edition)

Creates an RFQ.

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, RFQCreate  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

name
(required) The name of the new RFQ.
shortdesc
(optional) The short description for the new RFQ.
longdesc
The long description for the new RFQ.
endresult
Indicates what happens to the RFQ:
0=RFQ results in a contract
1=RFQ results in an order
startdate
The date the RFQ was posted or activated.
starttime
The time the RFQ was posted or activated.
ruletype
RFQ closing rules:
1=RFQ closes at a fixed end time
2=RFQ closes if a specified number of responses are received
3=RFQ closes based on logical OR of 1 and 2
4=RFQ closes based on logical AND of 1 and 2
enddate
The date the RFQ was closed.
endtime
The time the RFQ was closed.
numResponses
This RFQ will be closed when this number of the responses have been received.
accessType
Indicates to what the RFQ is targeted:
0=RFQ is targeted to public
1=RFQ is targeted to private
account_id
The account id used for this RFQ.
catentryid_i
The internal reference number of the CatalogEntry for the nth product included in this RFQ.
price_i
The requested price for the nth product included in this RFQ.
currency_i
The type of currency in which the price has been specified for the nth product included in this RFQ.
quantity_i
The quantity requested for the nth product included in this RFQ.
quantityunit_i
The unit of measure for the quantity requested for the nth product included in this RFQ.

Example 1

The following example creates RFQ with one product and will result in contract.

     http://myhostname/webapp/wcs/stores/servlet/RFQCreate?name=RFQ1000&shortdesc=RFQ
  &endresult=0&startdate=2003-04-15&starttime=08:00&ruletype=1&enddate=2003-04-15&endtime=08:00
  &numResponses=1&accessType=1&acoount_id=10001&catentryid_1=10006&price_1=12&currency_1=USD
  &quantity_1=10&quantityunit_1=C62&URL=/

Example 2

The following example creates RFQ with one product and will result in order.

     http://myhostname/webapp/wcs/stores/servlet/RFQCreate?name=RFQ1000&shortdesc=RFQ
  &endresult=1&startdate=2003-04-15&starttime=08:00&ruletype=1&enddate=2003-04-15&endtime=08:00
  &numResponses=1&accessType=1&acoount_id=10001&catentryid_1=10006&price_1=12&&currency_1=USD
  &quantity_1=10&quantityunit_1=C62&URL=/

Behavior

Exception conditions