Skip to main content

system.kanoa.inventory.getModels(paramsDict)

Returns model records from the inventory catalog. A model represents a specific equipment/asset model made by a manufacturer, distinct from a Part. Pass an empty dict to retrieve all models, or supply one or more filter keys in paramsDict to narrow the result set to a specific model or subset of models.


Parameters

paramsDict Dictionary

- assetTypeIdIntegerNot required
- enabledBooleanNot required
- manufacturerIdIntegerNot required
- modelIdIntegerNot required
- modelNumberStringNot required

Returns

data pyDataset


Example

paramsDict = {'enabled': True}

data = system.kanoa.inventory.getModels(paramsDict)
data = system.kanoa.utilities.convertDatasetToJSON(data)

for i, row in enumerate(data):
print 'Row %i'%i
for k,v in row.items():
print k,v

break #Just limiting to returning the columns from the first record for display purposes
>>>
Row 0
createdbyUser jason
lastUpdatedBy jason
notes None
assetTypeId None
modelId 1
manufacturerName ABB
assetTypeName None
manufacturerId 3
description ABB M3BP 7.5kW 4-Pole 400V IE3 Motor
enabled True
changedbyUser jason
changedDate None
lastUpdated Sun Jun 07 22:48:34 UTC 2026
createdDate Sun Jun 07 22:48:34 UTC 2026
createdBy 5
changedBy None
modelNumber M3BP 132SMB 4
>>>