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": [
[
"e3c983ad-1ba8-4c45-a142-9de1f6dce490",
"d9b353c8-7a22-4a6b-bac1-86e15cdec451"
],
[
"66023118-b5ae-480a-8eb8-f2c268e66963",
"4762a991-0f15-4ec4-8cf5-9641723900c2"
]
],
"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 |