POST api/Solargo/CheckUpgradePlus
Request Information
URI Parameters
None.
Body Parameters
Collection of DeviceInfoQueryModelName | Description | Type | Additional information |
---|---|---|---|
sn | string |
None. |
|
projectName | string |
None. |
|
type | DeviceType |
None. |
|
firmwares | Collection of FireWareItem |
None. |
Request Formats
application/json, text/json
Sample:
[ { "sn": "sample string 1", "projectName": "sample string 2", "type": 1, "firmwares": [ { "firmwareVersion": 1.0, "svnVersion": 1.0, "armVersion": 1.0, "dspVersion": 1.0, "batIndex": 1, "batterySN": "sample string 1", "bmsType": 1, "firmwareType": 1 }, { "firmwareVersion": 1.0, "svnVersion": 1.0, "armVersion": 1.0, "dspVersion": 1.0, "batIndex": 1, "batterySN": "sample string 1", "bmsType": 1, "firmwareType": 1 } ] }, { "sn": "sample string 1", "projectName": "sample string 2", "type": 1, "firmwares": [ { "firmwareVersion": 1.0, "svnVersion": 1.0, "armVersion": 1.0, "dspVersion": 1.0, "batIndex": 1, "batterySN": "sample string 1", "bmsType": 1, "firmwareType": 1 }, { "firmwareVersion": 1.0, "svnVersion": 1.0, "armVersion": 1.0, "dspVersion": 1.0, "batIndex": 1, "batterySN": "sample string 1", "bmsType": 1, "firmwareType": 1 } ] } ]
application/xml, text/xml
Sample:
<ArrayOfDeviceInfoQueryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Goodwe.Ops.BLL.Models"> <DeviceInfoQueryModel> <firmwares> <FireWareItem> <ArmVersion>1</ArmVersion> <BatIndex>1</BatIndex> <BatterySN>sample string 1</BatterySN> <BmsType>BMS1</BmsType> <DspVersion>1</DspVersion> <FirmwareType>DSP</FirmwareType> <FirmwareVersion>1</FirmwareVersion> <SvnVersion>1</SvnVersion> </FireWareItem> <FireWareItem> <ArmVersion>1</ArmVersion> <BatIndex>1</BatIndex> <BatterySN>sample string 1</BatterySN> <BmsType>BMS1</BmsType> <DspVersion>1</DspVersion> <FirmwareType>DSP</FirmwareType> <FirmwareVersion>1</FirmwareVersion> <SvnVersion>1</SvnVersion> </FireWareItem> </firmwares> <projectName>sample string 2</projectName> <sn>sample string 1</sn> <type>INV</type> </DeviceInfoQueryModel> <DeviceInfoQueryModel> <firmwares> <FireWareItem> <ArmVersion>1</ArmVersion> <BatIndex>1</BatIndex> <BatterySN>sample string 1</BatterySN> <BmsType>BMS1</BmsType> <DspVersion>1</DspVersion> <FirmwareType>DSP</FirmwareType> <FirmwareVersion>1</FirmwareVersion> <SvnVersion>1</SvnVersion> </FireWareItem> <FireWareItem> <ArmVersion>1</ArmVersion> <BatIndex>1</BatIndex> <BatterySN>sample string 1</BatterySN> <BmsType>BMS1</BmsType> <DspVersion>1</DspVersion> <FirmwareType>DSP</FirmwareType> <FirmwareVersion>1</FirmwareVersion> <SvnVersion>1</SvnVersion> </FireWareItem> </firmwares> <projectName>sample string 2</projectName> <sn>sample string 1</sn> <type>INV</type> </DeviceInfoQueryModel> </ArrayOfDeviceInfoQueryModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of BurnFileInfoName | Description | Type | Additional information |
---|---|---|---|
flashId | string |
None. |
|
flashType | integer |
None. |
|
flashFileUrl | string |
None. |
|
flashFileName | string |
None. |
|
flashVersion | decimal number |
None. |
|
inverterTypes | string |
None. |
|
upgradeType | integer |
None. |
|
flashChangeContent | string |
None. |
|
createTime | date |
None. |
|
bmsInfo | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "flashId": "sample string 1", "flashType": 1, "flashFileUrl": "sample string 2", "flashFileName": "sample string 3", "flashVersion": 1.0, "inverterTypes": "sample string 4", "upgradeType": 5, "flashChangeContent": "sample string 6", "createTime": "12/05/2024 10:44:25", "bmsInfo": 1 }, { "flashId": "sample string 1", "flashType": 1, "flashFileUrl": "sample string 2", "flashFileName": "sample string 3", "flashVersion": 1.0, "inverterTypes": "sample string 4", "upgradeType": 5, "flashChangeContent": "sample string 6", "createTime": "12/05/2024 10:44:25", "bmsInfo": 1 } ]
application/xml, text/xml
Sample:
<ArrayOfBurnFileInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Goodwe.Ops.BLL"> <BurnFileInfo> <bmsInfo>1</bmsInfo> <createTime>2024-12-05T10:44:25.784683+08:00</createTime> <flashChangeContent>sample string 6</flashChangeContent> <flashFileName>sample string 3</flashFileName> <flashFileUrl>sample string 2</flashFileUrl> <flashId>sample string 1</flashId> <flashType>1</flashType> <flashVersion>1</flashVersion> <inverterTypes>sample string 4</inverterTypes> <upgradeType>5</upgradeType> </BurnFileInfo> <BurnFileInfo> <bmsInfo>1</bmsInfo> <createTime>2024-12-05T10:44:25.784683+08:00</createTime> <flashChangeContent>sample string 6</flashChangeContent> <flashFileName>sample string 3</flashFileName> <flashFileUrl>sample string 2</flashFileUrl> <flashId>sample string 1</flashId> <flashType>1</flashType> <flashVersion>1</flashVersion> <inverterTypes>sample string 4</inverterTypes> <upgradeType>5</upgradeType> </BurnFileInfo> </ArrayOfBurnFileInfo>