Skip to main content

system.kanoa.cmms.addImage(procedureStepCheckId, imageName, imageType, imageDescription, imageBytes, thumbnail, userId)

Inserts an image for a procedure step check


Parameters

procedureStepCheckId Integer: Id of the procedureStepCheckId
imageName String: Name of image
imageType String: Type of image
imageDescription String: Description of image
imageBytes byteArray: The image in byteArray format
thumbnail byteArray: Thumbnail of image in byteArray format
userId Integer:Id of the user executing the function


Returns

imageId Integer
msg String None if success


Example