Reference > Shop flow URLs > Trading subsystem URLs > Account and contract URLs
ContractDisplay URL
This URL displays a contract.
URL structure
- http:// host_name/path/
- The fully qualified name of the WebSphere Commerce Server and the configuration path.
name-value pair with the & character. For a detailed description of the parameters and their values, see the list entitled Parameter values." />
Parameter values
- contractId
- Required: The contract ID for the contract to display, as found in the CONTRACT database table.
Example
This example displays a summary of contract 260369:
https://myhostname/webapp/wcs/stores/servlet/ContractDisplay?contractId=260369
Behavior
This URL displays a contract using a JSP file which is registers in the CNTRDISPLY database table for this contract.
Exception conditions
- _ERR_CONTRACT_NOT_VIEWABLE error is thrown if there is no JavaServer Pages file registered in the CNTRDISPLY database table for the contract.
- _ERR_CONTRACT_OBJECT_NOT_FOUND is thrown if a contract with the supplied contract ID is not found.