GET api/PowerExchange/GetDataTablePowerExchangeYearlyData

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

TableData
NameDescriptionTypeAdditional information
data

Collection of Collection of string

None.

columnDetails

Collection of ColumnDetails

None.

iTotalRecords

integer

None.

iTotalDisplayRecords

integer

None.

sEcho

integer

None.

tableTools

TableButtons

None.

dom

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    [
      "sample string 1",
      "sample string 2"
    ],
    [
      "sample string 1",
      "sample string 2"
    ]
  ],
  "columnDetails": [
    {
      "title": "sample string 1",
      "bSortable": true,
      "mRender": "sample string 3"
    },
    {
      "title": "sample string 1",
      "bSortable": true,
      "mRender": "sample string 3"
    }
  ],
  "iTotalRecords": 1,
  "iTotalDisplayRecords": 2,
  "sEcho": 3,
  "tableTools": {
    "aButtons": null
  },
  "dom": "sample string 4"
}

application/xml, text/xml

Sample:
<TableData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API">
  <columnDetails>
    <ColumnDetails>
      <bSortable>true</bSortable>
      <mRender>sample string 3</mRender>
      <title>sample string 1</title>
    </ColumnDetails>
    <ColumnDetails>
      <bSortable>true</bSortable>
      <mRender>sample string 3</mRender>
      <title>sample string 1</title>
    </ColumnDetails>
  </columnDetails>
  <data xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:ArrayOfstring>
      <d2p1:string>sample string 1</d2p1:string>
      <d2p1:string>sample string 2</d2p1:string>
    </d2p1:ArrayOfstring>
    <d2p1:ArrayOfstring>
      <d2p1:string>sample string 1</d2p1:string>
      <d2p1:string>sample string 2</d2p1:string>
    </d2p1:ArrayOfstring>
  </data>
  <dom>sample string 4</dom>
  <iTotalDisplayRecords>2</iTotalDisplayRecords>
  <iTotalRecords>1</iTotalRecords>
  <sEcho>3</sEcho>
  <tableTools>
    <aButtons i:nil="true" />
  </tableTools>
</TableData>