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.
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:
- _ERR_DIDNT_LOGON will be thrown if the user did not log in to a store.