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": [ [ "82bb6559-ef56-45f9-af4e-f8bb79ee3bb0", "58b1566a-b0ab-4bcb-887f-cc0c4f97f155" ], [ "f9220156-9bd8-42c6-8f65-6b3f0a54fca7", "5d5db7cf-6782-48c1-92d6-f8d8b253d631" ] ], "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 |