# system.kanoa.event.getAssetPerformanceEventsByShift(paramsDict)

Returns production data by shift filtered by the given parameters

---
### Parameters
**paramsDict** `Dictionary`<br />
<table class='dictionaryKeyTable'>
	<tbody>
 	<tr><td> - assetId</td><td>Integer</td><td></td></tr>	
 	<tr><td> - assetPath</td><td>String</td><td></td></tr>	
 	<tr><td> - endDate</td><td>DateTime</td><td></td></tr>	
 	<tr><td> - modeId</td><td>Integer</td><td>Not required. Can be None for all modes</td></tr>	
 	<tr><td> - modeName</td><td>String</td><td>Not required. Can be None for all modes</td></tr>	
 	<tr><td> - startDate</td><td>DateTime</td><td></td></tr>	
 	<tr><td> - workOrderId</td><td>Integer</td><td>Not required</td></tr>	
	</tbody>
</table>

---
### Returns
**productionData** `pyDataset`<br />

---
### Example
```python
paramsDict = {
	'assetPath': 'Kanoa Box Co\Box Plant\Packaging\Box Line 1',
	'startDate': system.date.parse("2025-06-04 00:00:00"),
	'endDate': system.date.parse("2025-06-12 00:00:00")
}
data = system.kanoa.utilities.convertDatasetToJSON(system.kanoa.event.getAssetPerformanceEventsByShift(paramsDict))
>>> 
```
