POST api/GenerateAndSaveRenderPreview

Request Information

URI Parameters

None.

Body Parameters

GenerateRenderPreviewRequest
NameDescriptionTypeAdditional information
sno

integer

None.

regId

string

None.

templateModel

integer

None.

fontName

string

None.

fontColor

string

None.

templateLink

string

None.

Request Formats

application/json, text/json

Sample:
{
  "sno": 1,
  "regId": "sample string 2",
  "templateModel": 3,
  "fontName": "sample string 4",
  "fontColor": "sample string 5",
  "templateLink": "sample string 6"
}

application/xml, text/xml

Sample:
<ValuesController.GenerateRenderPreviewRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/dbTubecast.Controllers">
  <fontColor>sample string 5</fontColor>
  <fontName>sample string 4</fontName>
  <regId>sample string 2</regId>
  <sno>1</sno>
  <templateLink>sample string 6</templateLink>
  <templateModel>3</templateModel>
</ValuesController.GenerateRenderPreviewRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GenerateRenderPreviewRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.