POST api/{version}/Inverter/UpdateInverterWarranty
批量更新逆变器质保到期信息
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
version | string |
None. |
Body Parameters
InverterWarrantyUpdateRequestVOName | Description | Type | Additional information |
---|---|---|---|
id | string |
None. |
|
list | Collection of InverterWarrantyUpdateRequestModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "sample string 1", "list": [ { "sn": "sample string 1", "addStandardMonth": 2, "addPartMonth": 3 }, { "sn": "sample string 1", "addStandardMonth": 2, "addPartMonth": 3 } ] }
application/xml, text/xml
Sample:
<InverterWarrantyUpdateRequestVO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Goodwe.Ops.Model.OpenApi.Device.Param.Warranty"> <id>sample string 1</id> <list> <InverterWarrantyUpdateRequestModel> <addPartMonth>3</addPartMonth> <addStandardMonth>2</addStandardMonth> <sn>sample string 1</sn> </InverterWarrantyUpdateRequestModel> <InverterWarrantyUpdateRequestModel> <addPartMonth>3</addPartMonth> <addStandardMonth>2</addStandardMonth> <sn>sample string 1</sn> </InverterWarrantyUpdateRequestModel> </list> </InverterWarrantyUpdateRequestVO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |