WebSphere Commerce Enterprise

RFQPriceAdjustmentOnCategoryAdd URL

Adds a price adjustment on a category in the RFQ.

URL structure

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

Parameter values

offering_id
Required: The ID to uniquely identify the RFQ.
catalogId
Optional: The internal reference number of the catalog for price adjustment negotiation on the category included in this RFQ.
categoryId
Optional: The internal reference number of the category for price adjustment negotiation included in this RFQ.
categoryPercentagePrice
Optional: The requested price adjustment for the category included in this RFQ.
synchronize
Optional: Indicates if the updates on 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.

Example

The following example adds a category to the RFQ with ID 10005:


    
http://myhostname/webapp/wcs/stores/servlet/RFQPriceAdjustmentOnCategoryAdd?offering_id=10001&catalogId=10001
       
&categoryId=10005&categoryPercentagePrice=5&synchronize=true&URL=/

Behavior

  • Stores information about price adjustment on categories in the PriceTCMasterCatalogWithFiltering term and condition.
  • Calls the com.ibm.commerce.utf.commands.CreateRFQPriceAdjustmentTCCmd task command to create the term and condition for the price adjustment negotiation if this is the first price adjustment category in this RFQ.
  • Calls the com.ibm.commerce.utf.commandCreateRFQPriceAdjustmentTCCmds.ModifyRFQPriceAdjustmentTCCmd task command to update the term and condition for the price adjustment negotiation if there is already price adjustment category in this RFQ.

Exception conditions

  • The parameter offering_id must be specified.