GET api/Values/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Weather| Name | Description | Type | Additional information |
|---|---|---|---|
| LocationId | integer |
None. |
|
| LocationName | string |
None. |
|
| CurrentTemperature | decimal number |
None. |
|
| MinTemperature | decimal number |
None. |
|
| MaxTemperature | decimal number |
None. |
|
| IconPath | string |
None. |
|
| WeatherDesc | string |
None. |
|
| ChanceOfRain | byte |
None. |
|
| LastUpdateTime | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"LocationId": 1,
"LocationName": "sample string 2",
"CurrentTemperature": 3.1,
"MinTemperature": 4.1,
"MaxTemperature": 5.1,
"IconPath": "sample string 6",
"WeatherDesc": "sample string 7",
"ChanceOfRain": 64,
"LastUpdateTime": "2025-12-27T02:19:29.675975+07:00"
}