apidocs / com.srv4pos.server.api.seller / SellerService / deletePicture

deletePicture

fun deletePicture(version: Int, pictureFilename: String): Unit

Deletes specified picture.

Parameters

version - version of seller, if mismatch com.srv4pos.server.api.exceptions.VersionConflictJsonException will be thrown

pictureFilename - picture filename. must match to com.srv4pos.server.api.infrastructure.Constraints.WINDOWS_FILENAME_REGEX

Exceptions

com.srv4pos.server.api.exceptions.ReferenceNotFoundJsonException - if seller is not found

com.srv4pos.server.api.exceptions.VersionConflictJsonException - if version doesn't match to seller version

See Also

SellerServiceSample