# system.kanoa.item.addItemPeriod(periodInfo, userId)

Adds the item period i.e 'Hours', 'Minutes'. All periodInfo keys are required.

---
### Parameters
**periodInfo** `Dictionary`<br />
<table class='dictionaryKeyTable'>
	<tbody>
 	<tr><td> - enabled</td><td>Boolean</td><td></td></tr>	
 	<tr><td> - itemPeriodName</td><td>String</td><td></td></tr>	
	</tbody>
</table>

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

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

---
### Example
```python
itemPeriodId = system.kanoa.item.addItemPeriod({'itemPeriodName': 'second', 'enabled': True}, 123)
```
