POST api/{version}/PwInventers/ChangeInventers
设备更换
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| version | string |
None. |
Body Parameters
pw_id 选择电站的ID it_checkcode 设备校验码(新) it_name_new 设备名称(新) it_sn_new 设备SN(新) it_sn_old 设备SN(旧) memo 备注
InventersChangeData| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
None. |
|
| ch_no | integer |
None. |
|
| pw_id | string |
None. |
|
| it_checkcode | string |
None. |
|
| it_name_new | string |
None. |
|
| it_sn_new | string |
None. |
|
| it_name_old | string |
None. |
|
| it_sn_old | string |
None. |
|
| change_date | date |
None. |
|
| change_userid | string |
None. |
|
| memo | string |
None. |
|
| param_err | string |
None. |
|
| battery_capacity | decimal number |
None. |
|
| current_user_id | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "sample string 1",
"ch_no": 2,
"pw_id": "sample string 3",
"it_checkcode": "sample string 4",
"it_name_new": "sample string 5",
"it_sn_new": "sample string 6",
"it_name_old": "sample string 7",
"it_sn_old": "sample string 8",
"change_date": "2025-12-15 01:04:55",
"change_userid": "sample string 10",
"memo": "sample string 11",
"param_err": "sample string 12",
"battery_capacity": 13.0,
"current_user_id": "sample string 14"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
id 更换历史ID ch_no 序号 change_date 更换时间 param_err 错误参数,以","分割
HttpResponseMessage| Name | 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. |