system.kanoa.lot.addLotAttribute
Description
adds a lot attributeSyntax
addLotAttribute(lotAttributeInfo, userId)- lotAttributeInfo (dict)
- - lotId (int)
- - lotAttributeName (string)
- - lotAttributeValue (string)
- userId (int)
- lotAttributeId (int), msg (string): None if success
Code Examples
lotAttributeInfo = {
'lotId': 241,
'lotAttributeName': 'testWeight',
'lotAttributeValue': 'testValue'
}
system.kanoa.lot.addLotAttribute(lotAttributeInfo, 5)
>>>
(1, None)
>>>