查看电站基本信息
接口描述
功能描述
查询电站基本信息。
访问限制
每个ip的限流次数:每分钟10次。
请求方式
HTTPS调用
POST https://we.goodwe.com/api/openapi/v1/service/getStationDetail
Header参数
| 属性 | 类型 | 必填 | 说明 |
|---|---|---|---|
| Authorization | String | 是 | 用户token |
请求参数
| 属性 | 类型 | 必填 | 说明 |
|---|---|---|---|
| stationId | String | 是 | 电站id |
返回参数
| 属性 | 类型 | 说明 | 示例值 |
|---|---|---|---|
| code | String | 请求成功或失败标识,“00000”请求成功,其余code请求失败 | - |
| description | String | 请求结果描述 | - |
| data | Object | 返回数据 | - |
| data.tenantId | Long | 租户id | 1436240154054823938 |
| data.id | Long | 电站id | 1777991922942607360 |
| data.name | String | 电站名称 | 台州电站pro |
| data.sn | String | 电站sn | aejfoaf |
| data.nodeId | String | 电站节点id | 1762388313995608066 |
| data.attributeValues | List<Object> | 电站属性 | - |
| data.attributeValues.attributeCode | String | 属性编码 | IsQuality |
| data.attributeValues.attributeName | String | 属性名称 | 是否质量监管 |
| data.attributeValues.attributeValue | String | 属性值 | Yes |
| data.attributeValues.attributeValueName | String | 属性值名称 | 是 |
其他说明
调用示例
请求数据示例
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\"}" } ] } }
