system.kanoa.lot.getLotOperationEvent
Description
Returns lot operation events filtered by the given parametersSyntax
getLotOperationEvent(paramsDict)Parameters:
Returns:
Dictionary
Parameter | Type | Required | Notes |
---|---|---|---|
lotOperationEventId | int | ||
lotId | int | ||
lotName | string | ||
itemId | int | ||
itemPath | string | ||
enabled | int | ||
lotOperationId | int | ||
lotOperationName | string | ||
assetId | int | ||
assetPath | string | ||
itemSourceId | int | ||
itemSourceName | string | ||
lotStateId | int | of the lotEvent | |
lotStateName | string | of the lotEvent | |
lotStateReasonId | int | of the lotEvent | |
lotStateReasonName | string | of the lotEvent | |
startDate | datetime | ||
endDate | datetime |
Code Examples
# Example usage
>paramsDict = {'lotId': 1, 'assetId': 1}
>lotOperationEvents = system.kanoa.lot.getLotOperationEvent(paramsDict)
>print(lotOperationEvents)