export_to_file

The export_to_file function is used to export the search results of the Trash section to an XLSX table.

Copied!
svc=core/export_to_file&params={
    "sheets":[
		{
			"title":"<text>",
			"rows":[
				["<text>"]
			]
		}
	],
	"format":<uint>
}

Parameters

The required parameters are marked with an asterisk (*).

ParameterDescription
sheets*Array of tables. 
title*Table title.
rows*Table columns and rows.
format*Table format. Specify 8 for XLSX.

Response

If completed successfully, returns an XLSX file.

Error codes

CodeDescription
4Invalid parameters provided or inappropriate format specified. The only suitable format is XLSX, that is, the request should contain "format": 8.
5Request execution error (failed to create temporary directories and/or execute file creation method).
Download PDF file
Download Word document

See also