WebSphere Commerce Enterprise

RFQCreate URL

Creates an RFQ.

URL structure

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

Parameter values

name
Required: The name of the new RFQ.
shortdesc
Optional: The short description for the new RFQ.
longdesc
Optional: The long description for the new RFQ.
endresult
Optional: Indicates what happens to the RFQ: 0=RFQ results in a contract 1=RFQ results in an order
startdate
Optional: The date the RFQ was posted or activated.
starttime
Optional: The time the RFQ was posted or activated.
ruletype
Required: 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
Optional: The date the RFQ was closed.
endtime
Optional: The time the RFQ was closed.
numResponses
Optional: This RFQ will be closed when this number of the responses have been received.
accessType
Optional: Indicates to what the RFQ is targeted: 0=RFQ is targeted to public 1=RFQ is targeted to private
account_id
Optional: The account id used for this RFQ.
catalogId
Optional: The internal reference number of the catalog used for price adjustment negotiation on a category included with this RFQ.
categoryId
Optional: The internal reference number of the category used for price adjustment negotiation on a category included with this RFQ.
categoryPercentagePrice
Optional: The requested price adjustment for a category included with this RFQ.
synchronize
Optional: Indicates whether the updates to the category for price adjustment negotiation is synchronized: true=Updates to the category for price adjustment negotiation are synchronized
false=Updates to the category for price adjustment negotiation are not synchronized
catentryid_i
Optional: The internal reference number of the catalog entry for the nth product included in this RFQ.
orderItemId
Optional: The internal reference number of the order item for the nth product included in this RFQ.
negotiationType_i
Optional: The negotiation type for the nth product included in this RFQ.
price_i
Optional: The requested price for the nth product included in this RFQ.
percentagePrice_i
Optional: The requested price adjustment for the nth product included in this RFQ.
currency_i
Optional: The type of currency in which the price has been specified for the nth product included in this RFQ.
quantity_i
Optional: The quantity requested for the nth product included in this RFQ.
quantityunit_i
Optional: The unit of measure for the quantity requested for the nth product included in this RFQ.
orderItemId
Optional: The internal reference number of the order item for the product included in this RFQ. This parameter can be repeated.
orderId
Optional: The internal reference number of the order for the product included in this RFQ.

Example 1

The following example creates an 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

  • Checks if the supplied RFQ name already exists in the database.
  • Calls the CreateRFQBasicInfo task command to create basic RFQ information.
  • Calls the CreateRFQCatentryRel task command to add the product in the RFQ.
  • Calls the CreateOrderCommentsTCCmd task command to create freeform terms and conditions for the RFQ.
  • Calls the CreateOrderItemPAttributeTCCmd task command to add personalized attributes for each item in the RFQ.

Exception conditions

  • The parameter name must be specified.
  • The parameter ownerId must be specified.
  • The parameter languageId must be specified.
  • The parameter ruletype must be specified.