POST api/{version}/v1/Statistics/ExportStatisticsData

查询统计数据

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

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

FileModel
NameDescriptionTypeAdditional information
AttId

文件ID

string

None.

FileName

文件名

string

None.

Path

文件路径

string

None.

Response Formats

application/json, text/json

Sample:
{
  "attId": "sample string 1",
  "fileName": "sample string 2",
  "path": "sample string 3"
}