WebSphere Commerce Enterprise

RequisitionListSubmit URL

This URL submits a requisition list for order processing.

URL structure

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

Parameter values

URL
Required: The URL called when the command completes successfully.
requisitionListId
Required: The ID of the requisition list to be submitted.
contractId
A list of IDs of contracts associated with the order. This parameter can be repeated.
offerId
A list of IDs of the offers associated with the order. This parameter can be repeated.

Example

The following command submits requisition list 10065 for processing:

http://myhostname/RequisitionListSubmit?requisitionListId=10065&URL=RequisitionListDisplay

Behavior

  • Copies the requisition list and creates a new pending order by calling the OrderItemUpdate command
  • Calls the OrderPrepare command to prepare the order
  • Redirects to the URL upon completion

Exception conditions

Throws an ECApplicationException with the message key _ERR_INVALID_ORDER_REFNUM if the input parameter requisitionListId is not a valid order ID.