WebSphere Commerce Enterprise

RFQCopy URL

Copies an RFQ.

URL structure

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

Parameter values

origRfqId
Required: The ID of RFQ to be copied.
newRfqName
Required: The name of the new RFQ.
copyAttachment
Required: Whether the attachment information is copied over from the original RFQ: 1=Yes 0=No

Example 1

The following example copies RFQ with ID 10015 with all corresponding attachments information.


    
http://myhostname/webapp/wcs/stores/servlet/RFQCopy?origRfqId=10015&newRfqName="New
RFQ 1"&copyAttachment=1&URL=/

Example 2

The following example copies RFQs with ID 10016, 10044 without all corresponding responses.


    
http://myhostname/webapp/wcs/stores/servlet/RFQCopy?origRfqId=10015&newRfqName="New
RFQ 2"&copyAttachment=0&URL=/

Behavior

  • Checks if the supplied RFQ ID really exists in the database.
  • Calls the com.ibm.commerce.utf.commands.CopyRFQCmd task command to copy the RFQ.

Exception conditions

  • The parameter origRfqId must be an integer.
  • The parameter newRfqName must be provided.
  • The parameter copyAttachment must be either 0 or 1.