system.kanoa.lot.getLotActivity
Description
Returns lots filtered by the given parametersSyntax
getLotActivity(paramsDict)Parameters:
Returns:
Dictionary
Parameter | Type | Required | Notes |
---|---|---|---|
hasQty | bool | ||
assetId | int | ||
assetPath | string | ||
lotId | int | ||
lotName | string | ||
itemId | int | ||
itemPath | string | ||
itemSourceId | int | ||
itemSourceName | string | ||
enabled | bool | ||
lotStateId | int | ||
lotStateName | string | ||
lotStateReasonId | int | ||
lotStateReasonName | string | ||
lotOperationId | int | ||
lotOperationName | string | ||
startDate | datetime | ||
endDate | datetime |
Code Examples
# Example usage
>paramsDict = {'lotId': 1, 'lotName': '#123', 'itemId': 45, 'itemName': 'bangers', 'enabled': True, 'hasQty': True, assetId: 1, lotStateId: 3, lotStateReasonId: 8}
>lotData = system.kanoa.lot.getLotActivity(paramsDict)
>print(lotData)