Get nested rows

To get nested rows of next level, use the command report/get_result_subrows:

svc=report/get_result_subrows&params={"tableIndex":<uint>,
				      "rowIndex":<uint>}

:!: You can find an example of this request in the sample Reports.

:!: This command allows you to receive only a subrows up to the second level, if you want to get more nested rows – use request report / select_result_rows .

Parameters

Name Description
tableIndex table index
rowIndex row index

Response

[
	{
		"n":<uint>,	/* row index (from 0) */
		"i1":<uint>,	/* number of first message in specified interval */
		"i2":<uint>,	/* number of last message in specified interval */
		"t1":<uint>,	/* time of first message in specified interval */
		"t2":<uint>,	/* time of last message in specified interval */
		"d":<int>,	/* quantity of rows with next nesting level */
		"c":[		/* cells array */
			<text>,		/* text value of cell */
			{		/* or object */
				"t":<text>,	/* cell value */
				"y":<double>,	/* latitude */
				"x":<double>	/* longitude */
			}		
		]
	}
]

If the specified row doesn’t contain any nested rows, then the format of the response will be:

{
	"error":0
}