POST api/OpenApi/AddPowerstationOwners
添加电站业主
Request Information
URI Parameters
None.
Body Parameters
AddPwOwers| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
|
| list_pwowner | Collection of PowerOwer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "sample string 1",
"list_pwowner": [
{
"owner_phone": "sample string 1",
"owner_name": "sample string 2",
"is_first_owner": true
},
{
"owner_phone": "sample string 1",
"owner_name": "sample string 2",
"is_first_owner": true
}
]
}
application/xml, text/xml
Sample:
<AddPwOwers xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Goodwe.Ops.OpenApi.Models">
<id>sample string 1</id>
<list_pwowner>
<PowerOwer>
<is_first_owner>true</is_first_owner>
<owner_name>sample string 2</owner_name>
<owner_phone>sample string 1</owner_phone>
</PowerOwer>
<PowerOwer>
<is_first_owner>true</is_first_owner>
<owner_name>sample string 2</owner_name>
<owner_phone>sample string 1</owner_phone>
</PowerOwer>
</list_pwowner>
</AddPwOwers>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
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. |