GET api/tabularreports/{tabularReportId}/data

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tabularReportId

integer

Required

StartTime

date

None.

EndTime

date

None.

TimeZoneBias

integer

None.

EnableDST

boolean

None.

GroupId

Collection of integer

None.

SiteId

Collection of integer

None.

MeasurementId

Collection of integer

None.

MeasTypeId

Collection of integer

None.

RecId

Collection of string

None.

DecimalPlaces

integer

None.

Body Parameters

None.

Response Information

Resource Description

TabularReportResultViewModel
NameDescriptionTypeAdditional information
Headers

Collection of TabularReportHeaderViewModel

None.

Data

Collection of Collection of Object

None.

SummaryData

Collection of Collection of Object

None.

Links

Gets the links.

Collection of LinkModel

None.

Response Formats

application/json, text/json

Sample:
{
  "headers": [
    {
      "name": "sample string 2",
      "dataType": "sample string 3",
      "format": "sample string 4",
      "summaryFormat": "sample string 5",
      "rowIndex": 6,
      "rowSpan": 1,
      "colIndex": 7,
      "colSpan": 1
    },
    {
      "name": "sample string 2",
      "dataType": "sample string 3",
      "format": "sample string 4",
      "summaryFormat": "sample string 5",
      "rowIndex": 6,
      "rowSpan": 1,
      "colIndex": 7,
      "colSpan": 1
    }
  ],
  "data": [
    [
      {},
      {}
    ],
    [
      {},
      {}
    ]
  ],
  "summaryData": [
    [
      {},
      {}
    ],
    [
      {},
      {}
    ]
  ]
}

application/xml, text/xml

Sample:
<TabularReportResultViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TelogWebAPI.Models">
  <Data xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:ArrayOfanyType>
      <d2p1:anyType />
      <d2p1:anyType />
    </d2p1:ArrayOfanyType>
    <d2p1:ArrayOfanyType>
      <d2p1:anyType />
      <d2p1:anyType />
    </d2p1:ArrayOfanyType>
  </Data>
  <Headers>
    <TabularReportHeaderViewModel>
      <ColIndex>7</ColIndex>
      <ColSpan>1</ColSpan>
      <DataType>sample string 3</DataType>
      <Format>sample string 4</Format>
      <Name>sample string 2</Name>
      <RowIndex>6</RowIndex>
      <RowSpan>1</RowSpan>
      <SummaryFormat>sample string 5</SummaryFormat>
    </TabularReportHeaderViewModel>
    <TabularReportHeaderViewModel>
      <ColIndex>7</ColIndex>
      <ColSpan>1</ColSpan>
      <DataType>sample string 3</DataType>
      <Format>sample string 4</Format>
      <Name>sample string 2</Name>
      <RowIndex>6</RowIndex>
      <RowSpan>1</RowSpan>
      <SummaryFormat>sample string 5</SummaryFormat>
    </TabularReportHeaderViewModel>
  </Headers>
  <SummaryData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:ArrayOfanyType>
      <d2p1:anyType />
      <d2p1:anyType />
    </d2p1:ArrayOfanyType>
    <d2p1:ArrayOfanyType>
      <d2p1:anyType />
      <d2p1:anyType />
    </d2p1:ArrayOfanyType>
  </SummaryData>
</TabularReportResultViewModel>