fun getPictureFromHistory(pictureVersion: Int?, productIdentifier: String, pictureFilename: String): InputStream?
Returns body of the picture for particular version number.
pictureVersion
- particular version of picture
productIdentifier
- product identifier
pictureFilename
- just a normal windows filename according to Constraints.WINDOWS_FILENAME_REGEX
com.srv4pos.server.api.exceptions.NotFoundJsonException
- if image is not found
com.srv4pos.server.api.exceptions.ReferenceNotFoundJsonException
- if product is not found
Return
body of the picture
See Also