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

stats

fun stats(sellerId: String, period: String?, cashRegisterName: String?): SaleStatsInfo?

Returns sales stats filtered by seller, cash register name and period.

Parameters

sellerId - filters by seller

period - filters by date period

cashRegisterName - filters by cash register name

Exceptions

com.srv4pos.server.api.exceptions.TypeMismatchJsonException - if period java.lang.String isn't convertible to java.util.Date.

Return
com.srv4pos.server.api.sale.SaleStatsInfo with stats.