POST api/{version}/v1/PowerStation/GetSoc
获取电站的电池容量
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| version | string |
None. |
Body Parameters
PowerStationBaseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PowerStationId |
电站ID |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"powerStationId": "sample string 1"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of SOC2Model| Name | Description | Type | Additional information |
|---|---|---|---|
| sn | string |
None. |
|
| battery_sn | string |
None. |
|
| Power | decimal number |
None. |
|
| Status | integer |
None. |
|
| Local | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"sn": "sample string 1",
"battery_sn": "sample string 2",
"power": 1.1,
"status": 3,
"local": 4
},
{
"sn": "sample string 1",
"battery_sn": "sample string 2",
"power": 1.1,
"status": 3,
"local": 4
}
]