POST api/Download/CreatePDF

Export to PDF

Request Information

URI Parameters

None.

Body Parameters

PDF export parameters

IdListPDF
NameDescriptionTypeAdditional 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": [
      [
        "0b321bcf-c57c-46e7-9460-60b4e367ffcb",
        "9b451fce-241b-4500-a136-9f22e635dc79"
      ],
      [
        "7315ffc0-0154-442e-9592-d48c55d4210a",
        "73a955c1-234b-4fed-afd1-cdb8d9d960a9"
      ]
    ],
    "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
NameDescriptionTypeAdditional 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