PAttributeModify (Business Edition)

Modifies existing attributes (specifications) in the attribute dictionary.

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

attr_id
(required) ID of the personalized attribute.
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 modifies the personalized attribute "Color".

     https://myhostname/webapp/wcs/stores/servlet/PAttributeModify?attr_id=10001&lang_id=-1&attrName="Color"&
  attrDesc="Color"&attrType="String"&sequence=1&encryptFlag=0&URL=/

Behavior

Exception conditions