apidocs / com.srv4pos.server.api.commodity / CommodityService / list

list

@JvmOverloads fun list(version: Int?, firstResult: Int? = null, maxResults: Int? = null, like: String? = null, orderBy: CommodityInfo.Fields? = null, orderDesc: Boolean? = null): List<CommodityInfo>?

Returns list of entities.

Parameters

firstResult - when pagination starts or null

maxResults - amount of items per page or null

like - search string filter or null

orderBy - field to order by, possible values are "IDENTIFIER", "PRODUCT_NAME", "PRODUCT_BARCODE", "PRODUCT_NETTO", "CATEGORY_NAME", "PRODUCT_SALES_UNIT", "PRODUCT_COUNTED_IN_PRICE"

orderDesc - field to direction of ordering

version - field to order by, possible values are

Return
list of entities which exists on current seller or null if list of entities is not modified since version