system.kanoa.attribute.updateAttribute(attrInfo, userId)
Updates an attribute
Parameters
attrInfo Dictionary
| - attributeDescription | String | |
| - attributeId | Integer | |
| - attributeName | String | |
| - enabled | Boolean | |
| - parentId | Integer |
userId Integer
Returns
# of records modified Integer
Example
attrInfo = {
'attributeId': 1,
'attributeName': 'some attribute name',
'attributeDescription': 'some description',
'parentId': 6,
'enabled': True
}
userId = 123
modifiedRecords = system.kanoa.attribute.updateAttribute(attrInfo, userId)