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": [
[
"9415e73d-996b-4938-91ee-765f3a486ed7",
"0edb8c66-9d54-4489-af3d-9aa03c9d5758"
],
[
"868e6d48-31da-4e61-a901-1419ff7effc8",
"1dd371ed-236f-4d6b-bd47-e2fb2417dce0"
]
],
"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 |