fun getPicture(version: Int?, pictureFilename: String): InputStream?
Returns body of the picture.
version - picture version or null if fresh content needed
pictureFilename - just a normal windows filename according to com.srv4pos.server.api.infrastructure.Constraints.WINDOWS_FILENAME_REGEX
com.srv4pos.server.api.exceptions.NotFoundJsonException - if image is not found
com.srv4pos.server.api.exceptions.ReferenceNotFoundJsonException - if seller is not found
Return
body in bytes or null if not modified (if version parameter is not null and seller has the same version as specified)
See Also