ContractListAsBuyer command (Business Edition)

This command returns a list of all contracts the customer currently logged on is eligible to use.

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, ContractListAsBuyer  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

There are no parameters for this command.

Example

This example returns a list of all contracts a user logged in to a store may use:

    https://myhostname/webapp/wcs/stores/servlet/ContractListAsBuyer

Behavior

For a user logged in to a WebSphere Commerce store, this command returns a list of contracts the user is entitled to use as a buyer. This command forwards the results to ContractListView after it finishes.

Exception conditions

The following exceptions may be thrown by this command: