goodwe-logo开放平台

查看电站基本信息

接口描述

功能描述

查询电站基本信息。

访问限制

每个ip的限流次数:每分钟10次。

请求方式

HTTPS调用

POST https://we.goodwe.com/api/openapi/v1/service/getStationDetail

Header参数

属性类型必填说明
AuthorizationString用户token

请求参数

属性类型必填说明
stationIdString电站id

返回参数

属性类型说明示例值
codeString请求成功或失败标识,“00000”请求成功,其余code请求失败-
descriptionString请求结果描述-
dataObject返回数据-
data.tenantIdLong租户id1436240154054823938
data.idLong电站id1777991922942607360
data.nameString电站名称台州电站pro
data.snString电站snaejfoaf
data.nodeIdString电站节点id1762388313995608066
data.attributeValuesList<Object>电站属性-
data.attributeValues.attributeCodeString属性编码IsQuality
data.attributeValues.attributeNameString属性名称是否质量监管
data.attributeValues.attributeValueString属性值Yes
data.attributeValues.attributeValueNameString属性值名称

其他说明

调用示例

请求数据示例

json
{ "stationId": 1777991922942607360 }

返回数据示例

样例1:返回电站详情成功

json
{ "code": "00000", "description": "成功", "data": { "id": "1462592467743408128", "name": "测试电站1", "tenantId": "1450742399304253441", "sn": "smhteststation1", "attributeValues": [ //电站属性信息 { "attributeCode": "IsQuality", "attributeName": "是否质量监管", "attributeValue": "Yes", "attributeValueName": "" }, { "attributeCode": "IsReady", "attributeName": "就绪状态", "attributeValue": "Yes", "attributeValueName": "" }, { "attributeCode": "ElectricitySalesType", "attributeName": "消纳方式", "attributeValue": "SCEN", "attributeValueName": "自发自用余电上网" }, { "attributeCode": "StatusOfConstruction", "attributeName": "建设状态", "attributeValue": "InConstruction", "attributeValueName": "建设中" }, { "attributeCode": "IsSigned", "attributeName": "签约状态", "attributeValue": "Yes", "attributeValueName": "" }, { "attributeCode": "StationElements", "attributeName": "场站元素", "attributeValue": "PV", "attributeValueName": "光伏" }, { "attributeCode": "ReadyTime", "attributeName": "就绪时间", "attributeValue": "2023-09-17T14:07:01.979Z" }, { "attributeCode": "Latitude", "attributeName": "纬度", "attributeValue": "39.904030" }, { "attributeCode": "Longitude", "attributeName": "经度", "attributeValue": "116.407526" }, { "attributeCode": "AreaID", "attributeName": "区域ID", "attributeValue": "110101" }, { "attributeCode": "Altitude", "attributeName": "海拔", "attributeValue": "35" } ], "extraInfoList": [ { "extraKey": "SpecialPriceTriggerStatus", "extraValue": "enable" }, { "extraKey": "geoInfo", "extraValue": "{\"formattedAddress\":\"北京市东城区东华门街道北京市人民政府北京市人民政府(旧址)\",\"adCode\":\"110101\",\"country\":\"中国\",\"province\":\"北京市\",\"city\":\"\",\"cityCode\":\"010\",\"district\":\"东城区\",\"township\":\"东华门街道\",\"longitude\":\"116.407526\",\"latitude\":\"39.904030\"}" } ] } }
login