GET api/resizeprogramcontrolimage?UploadedImageFileName={UploadedImageFileName}&ProgramImageRootFolder={ProgramImageRootFolder}&MaxWidth={MaxWidth}&TaskControlID={TaskControlID}&UserProgramTaskID={UserProgramTaskID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
UploadedImageFileName

string

Required

ProgramImageRootFolder

string

Required

MaxWidth

integer

Required

TaskControlID

integer

Required

UserProgramTaskID

integer

Required

Body Parameters

None.

Response Information

Resource Description

ProgramImageUploadResult
NameDescriptionTypeAdditional information
UserProgramTaskControlID

integer

None.

ImageUrl

string

None.

FolderName

string

None.

FileName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "UserProgramTaskControlID": 1,
  "ImageUrl": "sample string 2",
  "FolderName": "sample string 3",
  "FileName": "sample string 4"
}

application/xml, text/xml

Sample:
<ProgramImageUploadResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models">
  <FileName>sample string 4</FileName>
  <FolderName>sample string 3</FolderName>
  <ImageUrl>sample string 2</ImageUrl>
  <UserProgramTaskControlID>1</UserProgramTaskControlID>
</ProgramImageUploadResult>