POST api/v1/Statistics/GetStatisticsCharts

获取统计图表

Request Information

URI Parameters

None.

Body Parameters

StatisticsParaModel
NameDescriptionTypeAdditional information
Ids

选择数据的主键【各主键之间用逗号格开】

string

None.

Range

查询类型[1,电站,2地区,3组织]

integer

None.

Type

报表种类[1LifeCycle,2Day,3Month,4Year]

integer

None.

Start

开始时间【yyyy-MM-dd】

string

None.

End

结束时间【yyyy-MM-dd】

string

None.

ImageInfo

图片信息【导出时需要】

ImageInfo

None.

qry_type

查询类型 1:所有电站 3:自有电站(如用户为组织,则自有为:拥有和归属本节点)

integer

None.

fieldIds

string

None.

PageIndex

当前页

integer

None.

PageSize

当容量

integer

None.

Sidx

排序列

string

None.

Sord

排序类型

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ids": "sample string 1",
  "range": 2,
  "type": 3,
  "start": "sample string 4",
  "end": "sample string 5",
  "imageInfo": {
    "base64": "sample string 1",
    "width": 2,
    "height": 3
  },
  "qry_type": 6,
  "fieldIds": "sample string 7",
  "pageIndex": 8,
  "pageSize": 9,
  "sidx": "sample string 10",
  "sord": "sample string 11"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of StatisticsChartsModel
NameDescriptionTypeAdditional information
Yield

发电量

Collection of ChartsModel

None.

Income

收益

Collection of ChartsModel

None.

Label

统计类型

string

None.

YieldUnit

发电量单位

string

None.

CurrencyUnit

收益单位

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "yield": [
      {
        "x": "sample string 1",
        "y": {}
      },
      {
        "x": "sample string 1",
        "y": {}
      }
    ],
    "income": [
      {
        "x": "sample string 1",
        "y": {}
      },
      {
        "x": "sample string 1",
        "y": {}
      }
    ],
    "label": "sample string 1",
    "yieldUnit": "sample string 2",
    "currencyUnit": "sample string 3"
  },
  {
    "yield": [
      {
        "x": "sample string 1",
        "y": {}
      },
      {
        "x": "sample string 1",
        "y": {}
      }
    ],
    "income": [
      {
        "x": "sample string 1",
        "y": {}
      },
      {
        "x": "sample string 1",
        "y": {}
      }
    ],
    "label": "sample string 1",
    "yieldUnit": "sample string 2",
    "currencyUnit": "sample string 3"
  }
]