Reference > Shop flow URLs > Trading subsystem URLs > Request for Quote (RFQ) > RFQ URLs
RFQMarkForDelete URL
Invoked by a scheduled job. Marks canceled or completed RFQs for deletion after the specified period.
URL structure
- http:// host_name/path/
- The fully qualified name of the WebSphere Commerce Server and the configuration path.
name-value pair with the & character. For a detailed description of the parameters and their values, see the list entitled Parameter values." />
Parameter values
- markForDeleteAfterNumberOfDays
- (optional) The number of days after the completion date when the RFQ is marked for deletion. The default is one day.
- storeId
- Optional parameter in the command context. If the store ID is 0, then This URL works on all the RFQs in the site.
Example 1
The following example marks the RFQs in store 1001 that have been canceled or completed after one day and all corresponding responses for deletion.
http://myhostname/webapp/wcs/stores/servlet/RFQMarkForDelete?RFQMarkForDelete?markForDeleteAfterNumberOfDays=1&storeId=1001&URL=/
Example 2
The following example immediately marks the RFQs in store 1001 that have been canceled or completed and all corresponding responses for deletion.
http://myhostname/webapp/wcs/stores/servlet/RFQMarkForDelete?storeId=1001&URL=/
Behavior
- Calls the com.ibm.commerce.utf.commands.MarkRFQForDeleteCmd task command to set the MarkForDelete flags on RFQs that have been canceled or completed and on all corresponding responses.
Exception conditions
- The parameter markForDeleteAfterNumberOfDays must be an integer if provided.
- The parameter storeId must be an integer if provided.