Reference > Shop flow URLs > Order Management subsystem URLs > Order quotation URLs


OrderQuotationRequest URL

Submits requests for quotation orders to one or more quote-enabled stores for items in specified orders. Any existing quotation orders for the specified orders from any of the specified fulfillment centers are deleted. (Use the OrderQuotationCheck controller command to check to see if all the requested quotation orders have been received.)

You cannot use this command with static and dynamic kits.


URL structure

http:// host/ path/

The fully qualified name of the WebSphere Commerce Server and the configuration path.

Diagram of the URL structure: The URL starts with the fully qualified name of the WebSphere Commerce Server and the configuration path, followed by the URL name, OrderQuotationRequest , and the ? character. End the URL with a list of parameters in the form of name-value pairs. Separate each <a href=name-value pair with the & character. For a detailed description of the parameters and their values, see the list entitled Parameter values." />


Parameter values

quotationType

Specifies the type of quotation requested, "initial" or "final". The default value of this parameter is "initial".

orderId

Specifies the shopcart for which quotations are to be requested. The default value of this parameter is ".". This parameter can be repeated.

deleteOrderQuotationRelId

Specifies the OrderQuotationRel objects to be deleted (along with their child orders) if their type is "initial", "final", or "selection" and if their parent orders are one of the shopcarts specified in the orderId parameter. The default value of this parameter is "*n". This parameter can be repeated.

quotationStoreId_ i

Specifies a store from which quotations are to be requested. Stores that are not quote-enabled under the contract specified by the quotationContractId_ i parameter for the current user in the current store are ignored.

quotationContractId_ i

Specifies a contract containing a ReferralInterfaceTC that indicates a PolicyCommand to be used to obtain a quotation. A system exception is thrown if a specified contract does not contain such a ReferralInterfaceTC or is not deployed in the store indicated in quotationStoreId_ i. This parameter is ignored if quotationStoreId_ i is not specified.

quotationUserId_ i

Specifies the user ID to be sent with the quotation request sent to the store indicated by storeId_ i for the contract indicated by quotationContract_ i. This parameter is ignored if quotationStoreId_ i is not specified.

quotationPassword_ i

Specifies a password for the user ID specified by the quotationUserId_ i parameter. This parameter is ignored if quotationStoreUserId_ i is not specified.

outOrderQuotationRelIdName

Specifies the name-value pairs that should be added to the redirection URL. The values of the name-value pairs are the identifiers of the OrderQuotationRel objects created by this command invocation. This parameter can be repeated.

URL

Specifies the redirection URL that is returned when the command successfully completes.


Example 1

The following example requests initial quotations for the current shopping cart in store 1111 from referral stores 2222 and 3333. All existing initial, final, and selection orders for the shopping cart are deleted before the requests are sent. After the requests are sent, it re-directs to a URL that waits for the quotation responses to arrive.

    
http://myhostname/webapp/wcs/stores/servlet/OrderQuotationRequest?storeId=1111
          &orderId=.
          &quotationType=initial
          &quotationStoreId_1=2222&quotationStoreId_2=3333
          &deleteOrderQuotationRelId=*parent.
          &URL=
WaitForInitialQuotations


Example 2

The following example requests final quotations for the selection orders for the current shopping cart in store 1111 from referral stores 2222 and 3333. After the requests are sent, it re-directs to a URL that waits for the quotation responses to arrive.

    
http://myhostname/webapp/wcs/stores/servlet/OrderQuotationRequest?storeId=1111
          &orderId=.
          &quotationType=final
          &quotationStoreId_1=2222&quotationStoreId_2=3333
          &URL=
WaitForFinalQuotations


Behavior


Exception conditions


Related concepts

Order Management subsystem

Related reference

Order Management subsystem URLs


+

Search Tips   |   Advanced Search