POST api/Download/CreatePDF
Export to PDF
Request Information
URI Parameters
None.
Body Parameters
PDF export parameters
IdListPDFName | 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": [ [ "21c79014-27a7-4c0e-a837-c9489efd072a", "d3bf6cfa-0fef-49c6-aacb-9d57fbae4251" ], [ "e0b49ec5-8f4f-4466-a573-ecd5cd276f21", "71ba7c5b-9da8-4511-b01d-9ac0358c6d6d" ] ], "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
ObjResultOfStringName | 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 |