fun delete(version: Int, identifier: String): Unit
Delete entity from the server.
version
- current seller version
identifier
- identifies entity. must match to com.srv4pos.server.api.infrastructure.Constraints.WINDOWS_FILENAME_REGEX
com.srv4pos.server.api.exceptions.VersionConflictJsonException
- if version mismatch
com.srv4pos.server.api.exceptions.NotFoundJsonException
- if entity is not found