跳至主要内容

资管

资管相关接口​

用户下资产列表​

接口描述​

根据 token 获取用户下资产列表

请求方式​

GET

请求方法​

/sol-billing/assets/plant/list

请求参数​

名称位置类型必选说明
userIdquerystring否用户 ID
keyWordquerystring否搜索关键字
sortquerystring否none
sortColumnquerystring否none

返回示例

200 Response

{
"success": true,
"message": "string",
"code": 0,
"result": [
{
"assetsId": null,
"allName": "string",
"gridConnectionTime": "string",
"address": "string",
"contractPeriod": null,
"operationPeriod": null,
"operationContractBeginTime": null,
"operationBeginTime": null,
"plantImage": "string",
"isBind": null,
"projectCompany": "string",
"provinceId": "string",
"plantCapacity": null,
"actualCapacity": 0,
"assetManageConfigFlag": 0,
"hasQuota": 0,
"eyear": 0,
"eyearHour": 0,
"eyearPlanned": 0,
"eyearCompleteness": 0,
"eyearPlannedHour": 0,
"id": "string"
}
],
"timestamp": 0
}

返回结果​

状态码状态码含义说明数据模型
200OKnoneInline

返回数据结构​

状态码 200

名称类型必选约束中文名说明
» successbooleantruenonenone
» messagestringtruenonenone
» codeintegertruenonenone
» result[object]truenonenone
»» assetsIdnulltruenone资管 IDnone
»» allNamestringtruenone电站名称none
»» gridConnectionTimestringtruenone并网时间none
»» addressstringtruenone地址none
»» contractPeriodnulltruenone合同年限none
»» operationPeriodnulltruenone运行年限none
»» operationContractBeginTimenulltruenone运维合同开始时间none
»» operationBeginTimenulltruenone电站开始运营时间none
»» plantImagestring¦nulltruenone电站图片none
»» isBindnulltruenonenone
»» projectCompanystring¦nulltruenone项目名称none
»» provinceIdstringtruenone省份 IDnone
»» plantCapacitynulltruenone电站容量none
»» actualCapacitynumber¦nulltruenone实际容量none
»» assetManageConfigFlaginteger¦nulltruenonenone
»» hasQuotaintegertruenonenone
»» eyearintegertruenone年已发电量none
»» eyearHournumber¦nulltruenone年发电小时none
»» eyearPlannednumber¦nulltruenone年计划发电量none
»» eyearCompletenessnumber¦nulltruenone年发电量完成进度none
»» eyearPlannedHournumbertruenone年计划发电小时数none
»» idstringtruenoneIDnone
» timestampintegertruenonenone

资管-支出统计图表​

接口描述​

根据 所选择年份 获取资产支出统计数据

请求方式​

GET

请求方法​

/sol-billing/assets/plant/expendituresStatistics

请求参数​

名称位置类型必选说明
yearquerystring是年份

返回示例

200 Response

{
"success": true,
"message": "string",
"code": 0,
"result": {
"success": true,
"message": "string",
"code": 0,
"result": {
"total": 0,
"detail": [
{
"time": null,
"value": 0,
"year": null,
"month": null,
"key": "string"
}
]
},
"timestamp": 0
},
"timestamp": 0
}

返回结果​

状态码状态码含义说明数据模型
200OKnoneInline

返回数据结构​

状态码 200

名称类型必选约束中文名说明
» successbooleantruenonenone
» messagestringtruenonenone
» codeintegertruenonenone
» resultobjecttruenonenone
»» successbooleantruenonenone
»» messagestringtruenonenone
»» codeintegertruenonenone
»» resultobjecttruenonenone
»»» totalnumbertruenone总支出none
»»» detail[object]truenonenone
»»»» timenulltruenone时间none
»»»» valuenumbertruenone支出none
»»»» yearnulltruenone年份none
»»»» monthnulltruenone月份none
»»»» keystringtruenone支出名称none
»» timestampintegertruenonenone
» timestampintegertruenonenone

资管-收益统计图表​

接口描述​

根据 所选择年份 获取资产收益统计数据

请求方式​

GET

请求方法​

/sol-billing/assets/expenditureInfo/incomeStatistics

请求参数​

名称位置类型必选说明
yearquerystring是年份

返回示例

200 Response

{
"success": true,
"message": "string",
"code": 0,
"result": {
"incomeStatistics": [
{
"time": "string",
"value": 0,
"year": 0,
"month": 0,
"key": null
}
],
"expenditureStatistics": [
{
"time": "string",
"value": 0,
"year": null,
"month": 0,
"key": null
}
]
},
"timestamp": 0
}

返回结果​

状态码状态码含义说明数据模型
200OKnoneInline

返回数据结构​

状态码 200

名称类型必选约束中文名说明
» successbooleantruenonenone
» messagestringtruenonenone
» codeintegertruenonenone
» resultobjecttruenonenone
»» incomeStatistics[object]truenone项目收入none
»»» timestringtruenone时间none
»»» valuenumbertruenone收入none
»»» yearintegertruenone年份none
»»» monthintegertruenone月份none
»»» keynulltruenonenone
»» expenditureStatistics[object]truenone项目支出none
»»» timestringtruenone时间none
»»» valuenumbertruenone支出none
»»» yearnulltruenone年份none
»»» monthintegertruenone月份none
»»» keynulltruenonenone
» timestampintegertruenonenone

资管-电站详情图表​

接口描述​

根据 电站 id,并网时间,选择开始结束时间, 图表数据类型,时间类型 获取资产图表数据

请求方式​

POST

请求方法​

/sol-billing/data/analysis/getArrList

枚举值示例​

属性值说明
keyListELECTRICITY_BILL_REVENUE电费收益
keyListEXPENSE_EXPENSES支出费用
keyListCASH_FLOW现金流量
keyListELECTRICITY_BILL_REVENUE_TOTAL电费收益累计
keyListEXPENSE_EXPENSES_TOTAL支出费用累计
keyListCASH_FLOW_SUM现金流量累计
keyListEXPENSE_EXPENSES_TOTAL支出费用累计
keyListPLANNED_POWER_GENERATION计划发电量
keyListTHEORY_GENERATION电站理论发电量
keyListACTUAL_POWER_GENERATION实际发电量
keyListPLANNED_POWER_GENERATION_HOURS计划发电小时数
keyListTHEORY_GENERATION_HOURS理论发电小时
keyListACTUAL_POWER_GENERATION_HOURS实际发电小时数
keyListPLANNED_POWER_GENERATION_TOTAL计划发电量累计
keyListTHEORY_GENERATION_SUM理论发电量累计
keyListACTUAL_POWER_GENERATION_TOTAL实际发电量累计
keyListPLANNED_POWER_GENERATION_HOURS_TOTAL计划发电小时数累计
keyListTHEORY_GENERATION_HOURS_SUM理论发电小时累计
keyListACTUAL_POWER_GENERATION_HOURS_TOTAL实际发电小时数累计
keyListPLANNED_POWER_GENERATION_REVENUE计划发电收益
keyListTHEORY_GENERATION_INCOME理论发电收益
keyListELECTRICITY_BILL_REVENUE电费收益
keyListPLANNED_POWER_GENERATION_REVENUE_TOTAL计划发电收益累计
keyListTHEORY_GENERATION_INCOME_SUM理论发电收益累计
keyListELECTRICITY_BILL_REVENUE_TOTAL电费收益累计
keyListENERGY_ONLINE_TOTAL上网电量
keyListENERGY_USED_EMONTH自用电量
keyListINCOME_ONLINE_TOTAL上网电费
keyListINCOME_USED_EMONTH自用电费
keyListENERGY_USED_SHARP尖自用电量
keyListENERGY_USED_PEAKS峰自用电量
keyListENERGY_USED_FLAT平自用电量
keyListENERGY_USED_VALLEYS谷自用电量
keyListINCOME_USED_SHARP尖自用电费
keyListINCOME_USED_PEAKS峰自用电费
keyListINCOME_USED_FLAT平自用电费
keyListINCOME_USED_VALLEYS谷自用电费
keyListACTUAL_POWER_GENERATION实际发电量
keyListCOMPREHENSIVE_EXPENSES综合支出费用

请求参数​

名称位置类型必选说明
plantIdquerystring是电站 ID
gridConnectionTimequerystring是并网时间
startTimequerystring是选择开始时间
endTimequerystring是选择结束时间
dateEnumquerystring是时间类型
dataConstantEnumsqueryarray[string]是数据对应 key 值

返回示例

{
"success": true,
"message": "操作成功!",
"code": 200,
"result": {
"ELECTRICITY_BILL_REVENUE": [
{
"time": "2024-03",
"value": 26661.25729597,
"year": 2024,
"month": 3,
"key": null
},
{
"time": "2024-04",
"value": 22564.56971,
"year": 2024,
"month": 4,
"key": null
},
{
"time": "2024-05",
"value": 29123.91218,
"year": 2024,
"month": 5,
"key": null
},
{
"time": "2024-06",
"value": 17968.4243,
"year": 2024,
"month": 6,
"key": null
},
{
"time": "2024-07",
"value": 34676.15450875,
"year": 2024,
"month": 7,
"key": null
},
{
"time": "2024-08",
"value": 33922.37005675,
"year": 2024,
"month": 8,
"key": null
},
{
"time": "2024-09",
"value": 24421.27061,
"year": 2024,
"month": 9,
"key": null
},
{
"time": "2024-10",
"value": 18174.475393,
"year": 2024,
"month": 10,
"key": null
},
{
"time": "2024-11",
"value": 17490.8636115,
"year": 2024,
"month": 11,
"key": null
},
{
"time": "2024-12",
"value": 13801.99599275,
"year": 2024,
"month": 12,
"key": null
},
{
"time": "2025-01",
"value": 16797.97329,
"year": 2025,
"month": 1,
"key": null
},
{
"time": "2025-02",
"value": 0,
"year": 2025,
"month": 2,
"key": null
}
]
},
"timestamp": 1740634258920
}

返回结果​

状态码状态码含义说明数据模型
200OKnoneInline

返回数据结构​

状态码 200

名称类型必选约束中文名说明
» successbooleantruenonenone
» messagestringtruenonenone
» codeintegertruenonenone
» resultobjecttruenonenone
»» ELECTRICITY_BILL_REVENUE[object]truenonenone
»»» timestringtruenone时间none
»»» valuenumbertruenone值none
»»» yearintegertruenone年份none
»»» monthintegertruenone月份none
»»» keynulltruenonekeynone
» timestampintegertruenonenone

数据模型