POST api/Download/CreatePDF
Export to PDF
Request Information
URI Parameters
None.
Body Parameters
PDF export parameters
IdListPDF| Name | Description | Type | Additional information |
|---|---|---|---|
| Settings |
PDF export settings |
PDFExportSettings |
None. |
| Ids |
List of IDs |
Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"settings": {
"marginsLeft": 1.1,
"marginsTop": 2.1,
"marginsRight": 3.1,
"marginsBottom": 4.1,
"pageSize": "6.1, 7.1",
"itemsBorder": 5.1,
"pageWidth": 6.1,
"pageHeight": 7.1,
"columns": 8,
"rows": 9,
"showBorder": true,
"captions": [
[
"0743ddae-dad2-4f48-a101-084d20dd57fa",
"af30660c-45b6-499e-8c43-b40839059f39"
],
[
"f4266dd1-e943-4a64-9ca9-60b5de189d8a",
"9e17c6f1-98a5-4c31-a0ea-f13dd2730184"
]
],
"captionsBorder": 11.1,
"font": null,
"fontName": "sample string 12",
"fontStyle": 0,
"captionEnables": [
true,
true
],
"captionLines": [
1,
2
],
"fontSize": 13.1
},
"ids": [
1,
2
]
}
Response Information
Resource Description
Result containing the task ID
ObjResultOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | string |
None. |
|
| Error |
Error description |
string |
None. |
| Success |
Flag of successful operation |
boolean |
None. |
| ErrorCode |
Error code |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"data": "sample string 1",
"error": "sample string 2",
"success": true,
"errorCode": 4
}
Parameter Information
data
PDF export parameters
| Property | Description |
|---|---|
| Settings (PDFExportSettings) |
PDF export settings |
| Ids (Int64[]) |
List of IDs |