Edit Plant information

for example: http://api.shinemonitor.com/public/?sign=45a0317337cad1b975b7cc8e6ae35401daa5c356&salt=6799118618252297881&token=5b13e18eaa179d4bdce4cf2cc0e66eaa506c7f27ccac6b9e7beaa190ec0e386f&action=editPlant&plantid=1&name=PLANT00&source=0&_app_client_=android&_app_id_=com.demo.test&_app_version_=3.6.2.1

Parameter Description Required
action editPlant True
plantid Plant id True
name Plant name,length[1,64] False
address.country Plant address,country False
address.province Plant address,province False
address.city Plant address,city False
address.county Plant address,county False
address.town Plant address,township (district) False
address.village Plant address,village (street) False
address.address Plant address,detailed address, maximum length 64 False
address.timezone Plant address, Time zone (seconds),such as East Zone 8: 28800.Please refer to the time zone description at the bottom for details False
address.lon Plant address, Longitude, Standardized units False
address.lat Plant address, latitude, Standardized units False
profit.unitProfit Plant revenue, revenue per kWh of electricity generated False
profit.currency Plant revenue, currency symbol False
profit.currencyCountry Plant revenue, ISO Currency symbol (country) False
profit.coal Plant revenue, Save standard coal per kWh of power generation, Standardized units False
profit.co2 Plant revenue, CO2 reduction per kWh of power generation, Standardized units False
profit.so2 Plant revenue, SO2 reduction per kWh of power generation, Standardized units False
profit.soldProfit Electricity price for selling electricity False
profit.selfProfit Spontaneous self consumption electricity price False
profit.purchProfit Electricity purchase price False
profit.consProfit Electricity consumption price False
profit.feedProfit Grid electricity price False
nominalPower Design power of Plant, Standardized units False
energyYearEstimate Annual planned power generation of the Plant, Standardized units False
designCompany Plant design manufacturer,Maximum length 64 False
picBig Picture of the Plant, big picture, refer to PIcture upload False
picSmall Picture of the Plant, small picture, refer to PIcture upload False
install Installation date of the Plant, format: yyyy-mm-dd hh:mi:ss, Plant Time Zone False
When all optional parameters are not passed, it means there is no need to modify them. Passing a null value means leaving the parameter blank, such as "&cname=", which can leave the company name blank

response:

{
    "err":0,
    "desc":"ERR_NONE"
}

Possible errors:

Response error code Description Details
0x0001 ERR_FAIL Failed (update failed)
0x0006 ERR_FORMAT_ERROR Parameter error
0x0104 ERR_NOT_FOUND_PLANT Unable to find the Plant
0x0008 ERR_FORBIDDEN Reject (Plant owner/dealer/Device manufacturer calls, other roles reject)
0x000B ERR_NO_PERMISSION No permission (the user does not have permission to operate the Plant)
0x010F ERR_NONE_OPERATION No modification operations

Explanation of time zone restrictions:

The time zone constraint adopts a closed interval from [-12, 12] and all values should be taken at 0.25 intervals, such as {-12, -11.75, -11.50,..., 0,..., 11.5, 11.75, 12}. The parameters passed in by the interface must be multiplied by 3600 to convert to seconds

Copyright © eybond 2022 all right reserved,powered by Gitbook文档更新时间: 2023-07-18 10:19:10

results matching ""

    No results matching ""