getItemsByParam(JSONParams)

Returns an array of items that match the parameters.

Required Editions

Available in: Lightning Experience in Professional, Unlimited, and Enterprise Editions that have Consumer Goods Cloud enabled.

The JSONParams is a JSON structure that contains the parameters and the filter values for each parameter. For example: SimpleProperty1: Value1, SimpleProperty2:Value2, SimpleProperty3: Value3}

Parameters

Parameters: JSON

Returns

A List of items that match the specified parameters.

Example
Example
Var list = SomeListObject
Var item = List.getItemsByParams({"bpaMainPKey": "a16characterpkey", "status" : "1"})