查询电站基础信息 | ||||
---|---|---|---|---|
接口描述 | 查询电站基础信息 | |||
请求URL | https://api.solarmanpv.com/station/v1.0/base | |||
请求方式 | post | |||
请求类型 | application/json | |||
返回类型 | / | |||
请求参数 | ||||
参数名 | 数据类型 | 参数类型 | 是否必填 | 描述说明 |
language | string | query | N | 语言类型,示例值:zh |
authorization | string | header | Y | accessToken,示例值:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9 |
companyId | integer | body | N | 商家ID 商家登录此字段必传 ,示例值:22 |
stationId | integer | body | Y | 电站ID ,示例值:322 |
userId | integer | body | N | 账号ID ,示例值:1234 |
响应参数 | ||||
参数名 | 数据类型 | 参数类型 | 是否必填 | 描述说明 |
code | string | body | N | 信息码 ,示例值:10000 |
constructionCost | number | body | N | 总成本(元) |
contactPhone | string | body | N | 联系电话 ,示例值:13101969190 |
createdDate | string | body | N | 创建时间 |
currency | string | body | N | 货币单位 |
gridInterconnectionType | string | body | N | 并网类型 ,示例值:DISTRIBUTED_FULLY |
id | integer | body | N | 电站ID ,示例值:1234 |
installationAzimuthAngle | number | body | N | 方位角 |
installationTiltAngle | number | body | N | 倾角 |
installedCapacity | number | body | N | 装机容量 |
locationAddress | string | body | N | 详细地址 |
locationLat | number | body | N | 纬度 |
locationLng | number | body | N | 经度 |
mergeElectricPrice | number | body | N | 上网电价(元/kWh) |
name | string | body | N | 电站名称 ,示例值:电站A |
ownerCompany | string | body | N | 业主工作单位 |
ownerName | string | body | N | 业主姓名 |
region | Object | body | N | 行政区划 |
level1 | integer | body | N | 行政区1 |
level2 | integer | body | N | 行政区2 |
level3 | integer | body | N | 行政区3 |
level4 | integer | body | N | 行政区4 |
level5 | integer | body | N | 行政区5 |
nationId | integer | body | N | 国家ID |
timezone | string | body | N | 时区 |
startOperatingTime | string | body | N | 开始运行时间 |
stationImage | string | body | N | 电站封面 |
stationImages | array | body | N | 电站图片列表 |
description | string | body | N | 图片描述 |
id | integer | body | N | 图片ID |
name | string | body | N | 图片名称 |
url | string | body | N | 图片url |
type | string | body | N | 电站类型 ,示例值:HOUSE_ROOF |
msg | string | body | N | 信息描述 ,示例值:success |
success | boolean | body | N | 是否成功 ,示例值:true |
requestId | string | body | N | 请求标识 ,示例值:1d6f6eca9bee4b6483d4af064b659eec |
theoryConsumeProportion | number | body | N | 计划自发自用率 |
startOperatingTime | string | body | N | 开始运行时间(并网日期) |
operating | boolean | body | N | 并网状态 |
示例 | ||||
请求参数 | /station/v1.0/base?language=en { “stationId”: 895 } |
|||
返回值 | { “code”: null, “msg”: null, “success”: true, “requestId”: “ceb09fee2d184064a8e7cc38aad3e5d0”, “id”: 895, “name”: “001OPENAPI报警”, “locationLat”: 32.025278437978635, “locationLng”: 120.4771381250024, “locationAddress”: “苏州张家港市”, “region”: { “nationId”: 44, “level1”: 156922, “level2”: 158778, “level3”: 158861, “level4”: null, “level5”: null, “timezone”: “PRC” }, “type”: “HOUSE_ROOF”, “gridInterconnectionType”: “BATTERY_BACKUP”, “installedCapacity”: 6754.0, “installationAzimuthAngle”: 183.0, “installationTiltAngle”: 32.0, “startOperatingTime”: 1577030400.000000000, “currency”: “CNY”, “ownerName”: “张成功”, “ownerCompany”: “无锡英臻科技”, “contactPhone”: “13011110001”, “mergeElectricPrice”: 0.98, “constructionCost”: 6666.0, “stationImage”: null, “stationImages”: [ { “id”: 85, “name”: “OPENAPI001”, “description”: “jpg格式”, “url”: “http://img1.igen-tech.com/temp/fff4520a38ea44e2a3781850aea55fc41577074336462.jpg“ } ], “createdDate”: 1577069449.000000000 } |