POST api/preview/data

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

Request Information

URI Parameters

None.

Body Parameters

The model used to render the preview.

DataPreviewModel
NameDescriptionTypeAdditional information
WorkflowLocation

string

Required

JobFileLocation

string

None.

XmlDocument

XDocument

Required

DataFileContent

string

None.

CommandParameters

string

Required

OutputType

OutputType

None.

Request Formats

application/json, text/json

Sample:
{
  "WorkflowLocation": "sample string 1",
  "JobFileLocation": "sample string 2",
  "XmlDocument": {},
  "DataFileContent": "sample string 3",
  "CommandParameters": "sample string 4",
  "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.