Skip to content

getSmartEntryUploadImage ​

Returns the temporary image generated from the uploaded original file (such as a Powerpoint presentation, PDF). For uploaded images this may simply be a resized version of itself.

IMPORTANT NOTE: Currently (17-OCT-17) for all uploading and create/edit entries activities, the client needs to pass Cookies AWSELB and JSESSIONID in the request headers so that the load balancer directs you to the same server which files were uploaded to.

Request ​

http
GET /rest/smartlib/upload/image/{tempImageName}

Headers ​

HeaderRequiredDescription
x-nextinteract-authtokenYesAuth token returned from loginUser

Parameters ​

tempImageName - the temporary image name returned by uploadSmartFile() call

Response ​

200 OK ​

Returns an image as MIMI type in body of response

TODO Aaron to get example using a small image

Errors ​

ExceptionDescription
WSInvalidParameterExceptionSee Error Definitions
WSInvalidAuthTokenExceptionSee Error Definitions
WSCacheServiceExceptionSee Error Definitions
WSInternalExceptionSee Error Definitions