apidocs / com.srv4pos.server.api.sale / SaleService / list

list

fun list(sellerId: String, period: String?, firstResult: Int?, maxResults: Int?, like: String?, orderBy: SaleInfo.Fields?, orderDesc: Boolean?, cashRegisterName: String?): List<SaleShortInfo>?

Returns list of entities.

Parameters

sellerId - filters by seller

period - filters by date period

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", "NAME", "VAT"

orderDesc - field to direction of ordering

cashRegisterName - name of cash register

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

fun list(sellerId: String, cashRegisterName: String): List<SaleShortInfo>?