POST api/{version}/v1/PowerStation/GetInverterYieldRatioChartsBySn

单设备发电及收益图表

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

InverterKeyIndicatorsParaModel
NameDescriptionTypeAdditional information
SN

电站Id

string

None.

Date

[可省略]指定日期,默认当天

date

None.

Type

[可省略]1LifeCycle,2Day,3Month,4Year

integer

None.

Opt

操作:down下载

string

None.

Request Formats

application/json, text/json

Sample:
{
  "sn": "sample string 1",
  "date": "2025-05-15 22:42:20",
  "type": 2,
  "opt": "sample string 3"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

InverterYieldRatioChartsModel
NameDescriptionTypeAdditional information
Pv

Collection of ChartsModel

None.

Sell

Collection of ChartsModel

None.

Buy

Collection of ChartsModel

None.

SelfUseOfPV

Self-use of PV(自发自用电量 单位kWh):占比柱状图

Collection of ChartsModel

None.

GenerationIncome

(根据货币单位规则)(曲线)

Collection of ChartsModel

None.

GenerationSelfUseRatio

Self-use Ratio(四舍五入两位小数%)(曲线)

Collection of ChartsModel

None.

Currency

货币单位

string

None.

Yield

发电量

string

None.

Income

收益

string

None.

ViewFiled

Collection of string

None.

Output

Collection of ChartsModel

None.

Xy

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "pv": [
    {
      "x": "sample string 1",
      "y": {}
    },
    {
      "x": "sample string 1",
      "y": {}
    }
  ],
  "sell": [
    {
      "x": "sample string 1",
      "y": {}
    },
    {
      "x": "sample string 1",
      "y": {}
    }
  ],
  "buy": [
    {
      "x": "sample string 1",
      "y": {}
    },
    {
      "x": "sample string 1",
      "y": {}
    }
  ],
  "selfUseOfPV": [
    {
      "x": "sample string 1",
      "y": {}
    },
    {
      "x": "sample string 1",
      "y": {}
    }
  ],
  "generationIncome": [
    {
      "x": "sample string 1",
      "y": {}
    },
    {
      "x": "sample string 1",
      "y": {}
    }
  ],
  "generationSelfUseRatio": [
    {
      "x": "sample string 1",
      "y": {}
    },
    {
      "x": "sample string 1",
      "y": {}
    }
  ],
  "currency": "sample string 1",
  "yield": "sample string 2",
  "income": "sample string 3",
  "viewFiled": [
    "sample string 1",
    "sample string 2"
  ],
  "output": [
    {
      "x": "sample string 1",
      "y": {}
    },
    {
      "x": "sample string 1",
      "y": {}
    }
  ],
  "xy": [
    "sample string 1",
    "sample string 2"
  ]
}