GET api/weather/{postcode}
Find the weather based on postcode numbers
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| postcode |
2313 |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Weather| Name | Description | Type | Additional information |
|---|---|---|---|
| LastUpdate | date |
None. |
|
| Temperature | decimal number |
None. |
|
| Type | WeatherType |
None. |
Response Formats
application/json, text/json
Sample:
{
"LastUpdate": "2025-10-27T03:02:06.7822682+01:00",
"Temperature": 2.1,
"Type": 0
}
application/xml, text/xml
Sample:
<Weather xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.Services.ViewModels.Shared.Models"> <LastUpdate>2025-10-27T03:02:06.7822682+01:00</LastUpdate> <Temperature>2.1</Temperature> <Type>Unassigned</Type> </Weather>