GET api/ResizeImage?tableName={tableName}&imageFieldName={imageFieldName}&guid={guid}&maxWidth={maxWidth}&maxHeight={maxHeight}

Get any image which is already existing on server with an appropriate width and height by keeping image dimensions aspect ratio. <p> This API is public and need no Authorization </p><p>The resized image will be returned as an attachment within the response.</p><p><b>All images must be in png format only except customer image must be jpg.</b></p>

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tableName

The table name that contains image field

string

Required

imageFieldName

The image field name that contains the GUID value of the image

string

Required

guid

Image field GUID value

string

Required

maxWidth

Target image width

integer

Required

maxHeight

Target image height

integer

Required

Body Parameters

None.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.