apidocs / com.srv4pos.server.api.booking / BookingService / put

put

fun put(version: Int, bookingInfo: BookingInfo, identifier: String): Unit

Modifies a booking.

Parameters

version - expected latest version of seller

bookingInfo - data to put

identifier - identifier of booking

Exceptions

com.srv4pos.server.api.exceptions.VersionConflictJsonException - if version mismatch

com.srv4pos.server.api.exceptions.NotFoundJsonException - if booking or seller wasn't found

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