Reference > Shop flow URLs > Trading subsystem URLs > Request for Quote (RFQ) > Personal dictionary
PAttributeCreate URL
Adds new attributes (specifications) to attribute dictionary.
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
- lang_id
- Required: Language ID.
- attrName
- Required: Name of the personalized attribute.
- attrDesc
- Optional:A description of the personalized attribute.
- attrType
- Required: The specified data type for the attribute. Valid data types are: String, Integer, Float, Datetime, Freeform and Bigint.
- sequence
- Required: Sequence number of attribute in online display of attributes.
- encryptFlag
- Required: Encryption is required or not for Personalized Attribute values. Allowable values: 0 = No, 1= Yes, default is 0.
Example
The following example creates the personalized attribute "Color".
http://myhostname/webapp/wcs/stores/servlet/PAttributeCreate?lang_id=-1&attrName="Color"& attrDesc="Color"&attrType="String"&sequence=1&encryptFlag=0&URL=/
Behavior
- Adds new attributes (specifications) to the attribute dictionary.
Exception conditions
- The parameter lang_id must be an integer.
- The parameter attrName must be provided.
- The parameter attrType must be provided.
- The parameter sequence must be an integer.