HCL Commerce Enterprise

RFQItemCommentUpdate URL

Updates product comments to an item in the RFQ.

URL structure

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

Parameter values

pAttrValueId_i
Required: The internal identification of the value of the nth personalized attribute.
pattribute_id_i
Optional:The internal identification of the nth personalized attribute.
value_i
Required: Value of the nth personalized attribute.
mandatory_i
Required: Indicate if the nth product comment is mandatory: 0=this product comment is not mandatory 1=this product comment is mandatory
changeable_i
Required: Indicate if the nth product comment is changeable: 0=this product comment is not changeable 1=this product comment is changeable

Example

The following example updates one product comment with the ID 10001 of the RFQ product.


    
http://myhostname/webapp/wcs/stores/servlet/RFQItemCommentUpdate?pAttrValueId_1=10001&name_1=Information
       
&value_1=red&mandatory_1=1&changeable_1=1&URL=/

Behavior

  • Checks if the supplied RFQ product comment exists in the database.
  • Calls the DeletePAttributeValueCmd task command to remove the original product comment from the RFQ product.
  • Calls the CreatePAttributeValueCmd task command to add the modified product comment to the RFQ product.

Exception conditions

  • The parameter pAttrValueId_i must be specified for the nth product comment.
  • The parameter name_i must be specified for the nth product comment.
  • The parameter value_i must be specified for the nth product comment.
  • The parameter mandatory_i must be specified for the nth product comment.
  • The parameter changeable_i must be specified for the nth product comment.