POST api/{version}/Weather/GetCurrentWeather
获取实时天气
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| version | string |
None. |
Body Parameters
pw_longitude 经度 pw_latitude 纬度
Weather| Name | Description | Type | Additional information |
|---|---|---|---|
| powerstation_id_list | Collection of string |
None. |
|
| pw_longitude | string |
None. |
|
| pw_latitude | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"powerstation_id_list": [
"sample string 1",
"sample string 2"
],
"pw_longitude": "sample string 1",
"pw_latitude": "sample string 2"
}
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. |