apidocs / com.srv4pos.server.api.kdfacet / KdFacetService / list

list

@JvmOverloads fun list(firstResult: Int?, maxResults: Int?, serial: String?, sellerId: String?, cashRegisterName: String?, softwareVendorId: Long?, orderBy: KdFacetInfo.Fields? = null, orderDesc: Boolean? = null): List<KdFacetInfo>?

Returns list of kd facets. One of the filters must be used. Also, since cash register name is unique only through the particular seller it is forbidden to pass just a cash register name without seller.

Parameters

firstResult - when pagination starts or null

maxResults - amount of items per page or null

serial - filters kd facets by control unit

sellerId - filters kd facets by seller

cashRegisterName - filters kd facets by cash register name (i.e. registration)

softwareVendorId - filters kd facets by software vendor

Exceptions

com.srv4pos.server.api.exceptions.InconsistentDataJsonException - see: InconsistentDataErrorType.SELLER_SHOULD_BE_PROVIDED_FOR_CR

Return
list of entities