# system.kanoa.attribute.addAttributeEvent(attributeEventInfo, userId)

Adds an attribute event record

---
### Parameters
**attributeEventInfo** `Dictionary`<br />
<table class='dictionaryKeyTable'>
	<tbody>
 	<tr><td> - attributeAssetLinkId</td><td>Integer</td><td></td></tr>	
 	<tr><td> - tStamp</td><td>DateTime</td><td></td></tr>	
 	<tr><td> - value</td><td>String</td><td></td></tr>	
	</tbody>
</table>

**userId** `Integer`: Id of user executing the function<br />

---
### Returns
**attributeEventId** `Integer`<br />

---
### Example
```python
attributeEventInfo = {
  'attributeAssetLinkId': 18,
  'value': 'sausages',
  'tStamp': system.date.now()
}
userId = 123
attributeEventId = system.kanoa.attribute.addAttributeEvent(attributeEventInfo, userId)
```
