GET api/Values/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
WeatherName | 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-04-10T23:14:33.4959073+07:00" }