Table of Contents

Get list of table types

To get the list of tables which can be included in reports, use the command report/get_report_tables:

svc=report/get_report_tables&params={lang:<text>}

Parameters

Name Description
lang two-lettered language code

Response

[
	{
		"id":<uint>,		/* table ID */
		"name":<text>,		/* system table name */
		"display_name":<text>,	/* default table name */
		"type":<text>,		/* table type */
		"calc_type":<text>,	/* type of template in which this table can be used (see below) */
		"param_type":<text>,	/* text parameters */
		"columns":[		/* array of columns */
			{
				"name":<text>,			/* system column name */
				"display_name":<text>,		/* default column name */
				"stats_display_name":<text>,	/* list of column headers (if it is a statistics table) */
				"type":<text>,			/* column type */
				"flags":<uint>			/* column flags (see below) */
			}
		]
	}
]

Template types:

Column flags:

Flag Description
0x01 show as table column
0x02 show as statistics column
0x04 show as global switcher
0x08 show as column with position data
0x10 show as chart axis