POST api/documentgeneration/createpdf

Request Information

URI Parameters

None.

Body Parameters

CreatePdfDataContract
NameDescriptionTypeAdditional information
Pages

Collection of string

None.

StyleBlocks

Collection of string

None.

CssFiles

Collection of string

None.

Width

integer

None.

Height

integer

None.

PageSize

string

None.

PageOrientation

string

None.

PdfName

string

None.

RoleId

integer

None.

BaseUrl

string

None.

RootPath

string

None.

PdfQuality

string

None.

UseNew

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Pages": [
    "sample string 1",
    "sample string 2"
  ],
  "StyleBlocks": [
    "sample string 1",
    "sample string 2"
  ],
  "CssFiles": [
    "sample string 1",
    "sample string 2"
  ],
  "Width": 1,
  "Height": 2,
  "PageSize": "sample string 3",
  "PageOrientation": "sample string 4",
  "PdfName": "sample string 5",
  "RoleId": 6,
  "BaseUrl": "sample string 7",
  "RootPath": "sample string 8",
  "PdfQuality": "sample string 9",
  "UseNew": true
}

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 'CreatePdfDataContract'.

Response Information

Resource Description

JobInvocationDetailsDataContract
NameDescriptionTypeAdditional information
SupportsCancellation

boolean

None.

ReportsProgress

boolean

None.

InitialStatusText

string

None.

JobReference

globally unique identifier

None.

Success

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "SupportsCancellation": true,
  "ReportsProgress": true,
  "InitialStatusText": "sample string 3",
  "JobReference": "da9e26c9-f852-4b66-aee7-304fa59178e5",
  "Success": true
}