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

delete

fun delete(version: Int, identifier: String): Unit

Deletes a booking.

Parameters

version - current version of the entity

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