# ReportRunResultDto

A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.

The columns and rows a report run produced, with the window it actually covered.

## Fields
- `reportId` (string): The report id that ran. (nullable)
- `startUtc` (string(date-time)): The first instant the run covered, inclusive, in UTC.
- `endUtc` (string(date-time)): The end of the window the run covered, exclusive, in UTC: the first instant of the day after  the last requested day.
- `timeZoneId` (string): The time zone the dates were read in, or `null` when they were UTC days. (nullable)
- `merchantId` (string(uuid)): The merchant the run was narrowed to, or `null` when it was not narrowed. (nullable)
- `columns` (array<[ReportColumnDto](https://devportal.demo.winkpg.io/docs/api/models/ReportColumnDto.md)>): The columns, in display order. (nullable)
  Fields of each item:
  - `field` (string): The key the column's value is stored under in each row. Stable once published. (nullable)
  - `label` (string): The column's display label. (nullable)
  - `fieldType` ([ReportColumnFieldType](https://devportal.demo.winkpg.io/docs/api/models/ReportColumnFieldType.md)): The type of the column's values.
    Values:
    - `String`: Text.
    - `Integer`: A whole number.
    - `Decimal`: A number with a fractional part, such as an amount.
    - `Boolean`: true or false.
    - `DateTime`: An ISO 8601 date and time.
    - `Date`: An ISO 8601 calendar date.
    - `Guid`: A GUID.
    - `Other`: Any other value. Read it as text.
  - `format` (string): A display format hint, for example `C` for currency or `d` for a short date, when the  report provides one. Values in rows are never pre-formatted. (nullable)
  - `isVisible` (boolean): Whether the column is shown by default.
  - `aggregates` (array<[ColumnAggregateType](https://devportal.demo.winkpg.io/docs/api/models/ColumnAggregateType.md)>): The totals the report shows for this column, when it shows any. (nullable)
    Values:
    - `Sum`: Sum of all values in the column.
    - `Average`: Average of all values in the column.
    - `Count`: Count of rows (non-null values).
    - `Min`: Minimum value in the column.
    - `Max`: Maximum value in the column.
- `rows` (array<object>): The rows. Each row is keyed by the `field` of its columns; a row may omit a column that  has no value. (nullable)
- `rowCount` (integer(int32)): The number of rows.

## See also

- [All documentation](https://devportal.demo.winkpg.io/llms.txt): the machine-readable index of every public page on this site.
