Updates product specification to an item in an RFQ.
Command structure
- http://host_name/path/
- The fully qualified name of your WebSphere Commerce Server and the configuration path.
Parameter values
- pAttrValueId_i
- (required) The internal identification of the value of the nth personalized attribute.
- operator_i
- (required) The internal reference number of the operator for the nth personalized specification.
- quantityunit_i
- (optional) The unit of measure for the quantity specified as the value of the nth personalized specification.
- value_i
- (required) Value of the nth personalized specification.
- mandatory_i
- (required) Indicate if the nth product specification is mandatory:
0=this product specification is not mandatory
1=this product specification is mandatory - changeable_i
- (required) Indicate if the nth product specification is changeable:
0=this product specification is not changeable
1=this product specification is changeable
Example
The following example updates one product specification with the ID 10001 of the RFQ product.
http://myhostname/webapp/wcs/stores/servlet/RFQItemSpecificationUpdate?pAttrValueId_1=10001&name_1=Information &operator_1=0&value_1=red&mandatory_1=1&changeable_1=1&URL=/
Behavior
- Checks if the supplied RFQ product specification exists in the database.
- Calls the DeletePAttributeValueCmd task command to remove the original product specification from the RFQ product.
- Calls the CreatePAttributeValueCmd task command to add the modified product specification to the RFQ product.
Exception conditions
- The parameter pAttrValueId_i must be specified for the nth product specification.
- The parameter operator_i must be specified.
- The parameter value_i must be specified for the nth product specification.
- The parameter mandatory_i must be specified for the nth product specification.
- The parameter changeable_i must be specified for the nth product specification.