Result
The execute query endpoint should return a Dataset (defined in the SDK).
The result of the endpoint should be a dictionary like this one: {'records': records}
where records
is a DataSet.
Every record of this list is composed by a tuple of an alias (name of the attribute/column) and a value (the result of this attribute/column)
NOTE: the alias should exists in the Query entity or an error would be thrown
The DataSet
entity is a list of DataSetRow
that, again, is a list of DataSetItem
NOTE: the current version support only one item in this list so the
DataSet
should contain only oneDataSetRow
A DataSetItemKey could be a DataSetItemAttributeKey
or a DataSetItemStaticKey
. Both inherit from the BaseDataSetItemKey
More details about these entities can be found in the SDK docs