POST api/documentgeneration/createpdf

Creates a new pdf document.

Request Information

URI Parameters

None.

Body Parameters

Dezrez.Core.DataContracts.External.Api.DocumentGeneration.CreatePdf.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/x-www-form-urlencoded

Sample:

Sample not available.

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
}

Response Information

Resource Description

Dezrez.Core.DataContracts.External.Api.Job.Query.Get.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": "27921fd6-ed32-417c-894a-cde3bfe094f9",
  "Success": true
}