RequisitionListUpdate command

This command changes a requisition list type from private to shared, or from shared to private. It also updates the billing and payment information.

Command structure

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

Diagram of the command structure: the command starts with the fully qualified name of your WebSphere Commerce Server and the configuration path, followed by the command name, RequisitionListUpdate  and the ? character. End the command with a list of parameters in the form of name value pairs. Separate each name value pair with the & character. For a detailed description of the parameters and their values, refer to the list entitled Parameter values.

Parameter values

URL
(Required) The URL called when the command completes successfully.
requisitionListId
(Required) The ID of the requisition list to be updated.
status
Distinguishes between a private requisition list and a shared requisition list. The default is Y for a private requisition list. Z indicates a shared requisition list.
billtoAddressId
The billing address identification.
name
The name of the requisition list.

Example

The following example updates requisition list 10099, changing the requisition list to a shared requisition list:

http://myhostname/RequisitionListUpdate?&requisitionListId=10099&status=Z
  &URL=RequisitionListDisplay

Behavior

Updates the information specified in the parameters. It can also update the optional payment name value pairs similar to the name value pairs in the OrderProcess command.

Exception conditions

Notes about payments

The RequisitionListUpdate command does not itself handle payments. But it can take the name value pairs, save them in the database to be used later by DoPaymentCmd. To handle payments, one uses the DoPaymentCmd interface class, which DoPayment task commands would implement. The parameters that are passed from RequisitionListUpdate to this command can be anything, although they would typically implement credit card information.