POST api/documentgeneration/createpdf
Creates a new pdf document.
Request Information
URI Parameters
None.
Body Parameters
CreatePdfDataContract| Name | Description | Type | Additional 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
JobInvocationDetailsDataContract| Name | Description | Type | Additional 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": "36686722-4a81-42ed-8dcb-57ac3fe93cfc",
"Success": true
}