system.kanoa.attribute.updateAttributeEvent
Description
Updates an attribute event record.Syntax
updateAttributeEvent(attributeEventInfo, userId)- dictionary attributeEventInfo - {'attributeEventId': 23, 'attributeAssetLinkId': 18, 'value': 'sausages', 'tStamp': somedate}
- int userId - User ID
- int - Number of records modified
Code Examples
# Example usage
attributeEventInfo = {
'attributeEventId': 23,
'attributeAssetLinkId': 18,
'value': 'sausages',
'tStamp': somedate
}
userId = 123
modifiedRecords = system.kanoa.attribute.updateAttributeEvent(attributeEventInfo, userId)
print(modifiedRecords) # Print the number of modified records