To export report results into a file, use the command report/export_result:
svc=report/export_result¶ms={"format":<uint>, "pageOrientation":<text>, "pageSize":<text>, "pageWidth":<text>, "coding":<text>, "delimiter":<text>, "headings":<text>, "compress":<text>, "attachMap":<text>, "extendBounds":<bool>, "hideMapBasis":<text>, "outputFileName":<text>}
Current request can't be executed simultaneously with following requests:
Name | Description | |
---|---|---|
format | file format (see below) | |
Optional parameters: | on default | |
compress | compress report file: 0 - no, 1 - yes | 1 |
pageOrientation | (pdf) page orientation : portrait, landscape | portrait |
pageSize | (pdf) page format: a4, a3 | a4 |
pageWidth | (pdf) page width: 0 - fixed, 1 - compact, 2 - no-wrap | 0 |
coding | (csv) encoding: utf8, cp1251 | utf8 |
delimiter | (csv) delimiter: semicolon | comma |
headings | (csv) display headers: 0 - no, 1 - yes | 0 |
attachMap | attach map (only for PDF and HTML): 0 - no, 1 - yes | 0 |
extendBounds | extend map to include geozones (only for PDF and HTML): 0 - no, 1 - yes | 0 |
hideMapBasis | hide map layer: 0 - no, 1 - yes | 0 |
outputFileName | file name | Online_report |
Clarification for extendBounds
:
- new logics implemented: on default the map is zoomed to fill tracks/markers/icons;
extendBounds
enabled)File formats:
Returns a file of demanded format.