system.kanoa.quality.analysis.getChkItemEventsByRow(paramsDict)
Returns Check item event data for the given parameters with the check items in each row. paramsDict keys are optional unless otherwise stated.
Parameters
paramsDict Dictionary
| - assetId | Integer | |
| - assetPath | String | |
| - chkItemGroupId | Integer | |
| - chkItemGroupIdList | List of Integers | |
| - chkShtId | Integer | Required |
| - chkShtStateIds | listint] | |
| - chkShtTypeId | Integer | |
| - enabled | Boolean | |
| - endDate | DateTime | Required |
| - fromDate | DateTime | Can select to only return data between certain times, while still getting aggregate data (min, max) for the entire date range |
| - itemClassPath | String | |
| - itemId | Integer | |
| - limit | Integer | Limit the number of records returned. Default is 500 |
| - startDate | DateTime | Required |
| - toDate | DateTime | Can select to only return data between certain times, while still getting aggregate data (min, max) for the entire date range |
Returns
chkItemEventData pyDataset
msg String None if success
Example
paramsDict = {'startDate': system.date.parse('2024-01-01 00:00:00'), 'endDate': system.date.now(), 'chkShtId': 123}
data, msg = system.kanoa.quality.analysis.getChkItemEventsByRow(paramsDict)
print(data)