system.kanoa.attribute.addAttributeEvent(attributeEventInfo, userId)
Adds an attribute event record
Parameters
attributeEventInfo Dictionary
| - attributeAssetLinkId | Integer | |
| - tStamp | DateTime | |
| - value | String |
userId Integer
Returns
attributeEventId Integer
Example
attributeEventInfo = {
'attributeAssetLinkId': 18,
'value': 'sausages',
'tStamp': system.date.now()
}
userId = 123
attributeEventId = system.kanoa.attribute.addAttributeEvent(attributeEventInfo, userId)