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

put

fun put(version: Int, sellerId: String, restaurantInfo: RestaurantInfo): Unit

Send information about restaurant to the server to store it.

Parameters

restaurantInfo - the data

sellerId - seller-restaurant id

Exceptions

com.srv4pos.server.api.exceptions.VersionConflictJsonException - if server has newer data sent from other client before

Peram
version of the seller. it must match to the version of seller on the server

See Also

com.srv4pos.server.api.seller.SellerServiceSample