system.kanoa.quality.config.updateAttribute(attrInfo)
Updates an attribute. All attrInfo keys are required.
Parameters
attrInfo Dictionary
| - attributeDescription | String | |
| - attributeId | Integer | |
| - attributeName | String | |
| - enabled | Boolean | |
| - parentId | Integer |
Returns
# of records modified Integer
Example
attrInfo = {'attributeId': 67, 'attributeName': 'some attribute name', 'attributeDescription': 'some description', 'parentId': 6, 'enabled': True}
userId = 5
attributeIid = system.kanoa.quality.config.updateAttribute(attrInfo, userId)