Updates terms and conditions in an RFQ.
Command structure
- http://host_name/path/
- The fully qualified name of your WebSphere Commerce Server and the configuration path.
Parameter values
- offering_id
- (required) The internal identification of the RFQ.
- tc_id_i
- (required) The internal identification of the nth terms and conditions.
- value_i
- (required) Value of the nth terms and conditions.
- mandatory_i
- (required) Indicate if the nth terms and conditions is mandatory:
0=this terms and conditions is not mandatory
1=this terms and conditions is mandatory - changeable_i
- (required) Indicate if the nth terms and conditions is changeable:
0=this terms and conditions is not changeable
1=this terms and conditions is changeable
Example
The following example updates the terms and conditions in the RFQ .
http://myhostname/webapp/wcs/stores/servlet/RFQTCUpdate?offering_id=10001&tc_id_1=10005 &value_1=Special&mandatory_1=1&changeable_1=1&URL=/
Behavior
- Checks if the supplied RFQ exists in the database.
- Calls the DeleteOrderCommentsTCCmd task command to delete the terms and conditions from the RFQ.
- Calls the CreateOrderCommentsTCCmd task command to add the terms and conditions to the RFQ.
Exception conditions
- The parameter offering_id must be specified.
- The parameter tc_id_i must be specified.