POST api/Preview

Renders a preview using the given model, and returns the file data.

Request Information

URI Parameters

None.

Body Parameters

The model used to render the preview.

PreviewModel
NameDescriptionTypeAdditional information
WorkflowLocation

string

Required

XmlLocation

string

None.

XmlDocument

XDocument

None.

CommandParameters

string

Required

OutputPath

string

None.

PageNumber

integer

None.

OutputType

OutputType

Required

Request Formats

application/json, text/json

Sample:
{
  "WorkflowLocation": "sample string 1",
  "XmlLocation": "sample string 2",
  "XmlDocument": {},
  "CommandParameters": "sample string 3",
  "OutputPath": "sample string 4",
  "PageNumber": 1,
  "OutputType": 0
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.