apidocs / com.srv4pos.server.api.restaurant / RestaurantService / list

list

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

Returns list of entities. Only for admins.

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", "name", "vat"

orderDesc - field to direction of ordering

Exceptions

com.srv4pos.server.api.exceptions.ForbiddenJsonException - see: ForbiddenErrorType.INSUFFICIENT_ACCESS_RIGHTS

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