HCL Commerce Enterprise

ContractDisplay URL

This URL displays a contract.

URL structure

http:// host_name/path/
The fully qualified name of your Transaction server and the configuration path.

Parameter values

contractId
Required: The contract ID for the contract you want 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.