ResultDataGridModel
TheResultDataGridModel is the standard response format for grid data queries, containing pagination information and the actual data records.
Response Fields
The current page number in the result set.
The name of the grid being queried.
Unique identifier for the grid.
Number of records returned in the current page.
Total number of pages available for the query.
Total number of records matching the query across all pages.
Container for the field definitions and row data.
DataRecord
TheDataRecord object contains the structure definition and actual data rows.
Fields
Array of field definitions describing the structure of the data.
Array of data rows, where each row is a dictionary with field names as keys.
Field
TheField object defines the metadata for each column in the grid.
Properties
Unique identifier for the field.
Display label for the field (human-readable name).
Technical name of the field (used as key in row data).
Display order of the field in the grid.
Data type of the field (e.g., “string”, “number”, “date”).
Whether the field should be visible in the UI.
Suggested width for displaying the field in pixels.
Example Response
Response Structure Notes
- The
fieldsarray defines the schema for the data, including display properties - Each object in the
rowsarray uses the fieldnamevalues as keys - The
visibleandwidthproperties help UI clients render the grid appropriately - Pagination information (
currentPage,totalPages,totalRecords) enables client-side pagination controls