Query the power generation of all Plant for a certain year
Parameter | Description | Required |
---|---|---|
action | queryPlantsEnergyYear | True |
date | Date to query, format: yyyy ,The date is considered to be the time zone where each Plant is located, If this parameter is not passed, it will be defaulted to current year | False |
response:
Parameter | Description | Required |
---|---|---|
energy | Power generation, Standardized units | True |
{
"err":0,
"desc":"ERR_NONE",
"dat":{
"energy":"10.0001"
}
}
Possible errors:
Response error code | Description | Details |
---|---|---|
0x0006 | ERR_FORMAT_ERROR | Parameter |
0x0104 | ERR_NOT_FOUND_PLANT | Unable to find Plant |
0x000C | ERR_NO_RECORD | No records (no data found or no data generated for that year) |