apidocs / com.srv4pos.server.api.category / CategoryService / stats

stats

fun stats(period: String?, cashRegisterName: String?): CategoriesStatsInfo?

Returns stats by categories.

Parameters

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.category.CategoriesStatsInfo with stats.