POST api/v4/PowerStationSurvey/AddPowerStation

Request Information

URI Parameters

None.

Body Parameters

AddPowerStation_v4
NameDescriptionTypeAdditional information
pw_id

string

None.

pw_name

string

None.

pw_type

string

None.

pw_selarea

string

None.

pw_towncn

string

None.

pw_address

string

None.

detail_address

string

None.

area_address

string

None.

pw_areacode

string

None.

pw_longitude

string

None.

pw_latitude

string

None.

as_capacity

string

None.

as_amount

string

None.

battery_capacity

decimal number

None.

range_type

integer

None.

investment

string

None.

create_time

string

None.

owner_name

string

None.

owner_phone

string

None.

owner_phone_code

string

None.

pw_yieldrate

string

None.

pw_yieldrate_list

Collection of Addpw_yieldrate

None.

contacts_phone_code

string

None.

contacts_phone

string

None.

org_code

string

None.

installer_phone_code

string

None.

installer_phone

string

None.

enable_synopsis

boolean

None.

synopsis_content

string

None.

list_pwvisitor

Collection of AddPwOwner_v4

None.

current_user_id

string

None.

notes

string

None.

Request Formats

application/json, text/json

Sample:
{
  "pw_id": "sample string 1",
  "pw_name": "sample string 2",
  "pw_type": "sample string 3",
  "pw_selarea": "sample string 4",
  "pw_towncn": "sample string 5",
  "pw_address": "sample string 6",
  "detail_address": "sample string 7",
  "area_address": "sample string 8",
  "pw_areacode": "sample string 9",
  "pw_longitude": "sample string 10",
  "pw_latitude": "sample string 11",
  "as_capacity": "sample string 12",
  "as_amount": "sample string 13",
  "battery_capacity": 14.0,
  "range_type": 15,
  "investment": "sample string 16",
  "create_time": "sample string 17",
  "owner_name": "sample string 18",
  "owner_phone": "sample string 19",
  "owner_phone_code": "sample string 20",
  "pw_yieldrate": "sample string 21",
  "pw_yieldrate_list": [
    {
      "stat_date": "sample string 1",
      "yieldrate": "sample string 2"
    },
    {
      "stat_date": "sample string 1",
      "yieldrate": "sample string 2"
    }
  ],
  "contacts_phone_code": "sample string 22",
  "contacts_phone": "sample string 23",
  "org_code": "sample string 24",
  "installer_phone_code": "sample string 25",
  "installer_phone": "sample string 26",
  "enable_synopsis": true,
  "synopsis_content": "sample string 28",
  "list_pwvisitor": [
    {
      "visitor_name": "sample string 1",
      "visitor_phone": "sample string 2",
      "visitor_phone_code": "sample string 3"
    },
    {
      "visitor_name": "sample string 1",
      "visitor_phone": "sample string 2",
      "visitor_phone_code": "sample string 3"
    }
  ],
  "current_user_id": "sample string 29",
  "notes": "sample string 30"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.