GET api/Preview/GetBase64/{id}?width={width}&height={height}

Getting an image for Base64 encoded preview

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Media Item ID

integer

Required

width

Width

integer

Required

height

Height

integer

Required

Body Parameters

None.

Response Information

Resource Description

Preview image

ObjResultOfString
NameDescriptionTypeAdditional information
Data

string

None.

Error

Error description

string

None.

Success

Flag of successful operation

boolean

None.

ErrorCode

Error code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "data": "sample string 1",
  "error": "sample string 2",
  "success": true,
  "errorCode": 4
}