GET api/SigWxObs/{id}?units={units}
Documentation for 'Get'.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| id | Documentation for 'id'. |
Define this parameter in the request URI. |
| units | Documentation for 'units'. |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{
"id": 1,
"stationId": 2,
"stationNumber": "sample string 3",
"stationName": "sample string 4",
"latitude": 1.0,
"longitude": 1.0,
"obsDateTime": "2026-01-01T21:48:20.381509+00:00",
"precipDurationMin": 1,
"precipDurationAmt": 1.0,
"precipDurationAmtIsTrace": true,
"totalPrecipAmt": 1.0,
"totalPrecipAmtIsTrace": true,
"depthOfSnowfall": 1.0,
"depthOfSnowfallIsTrace": true,
"depthOfSnowOnGround": 1.0,
"depthOfSnowOnGroundIsTrace": true,
"flooding": "sample string 10",
"notes": "sample string 11",
"uid": "03b8e7f1-6061-4cb7-b5d8-cc3dba7d3ce5",
"units": "english",
"dateTimeStamp": "2026-01-01T21:48:20.381509+00:00",
"entryDateTime": "2026-01-01T21:48:20.381509+00:00",
"source": "sample string 15"
}
application/xml, text/xml
Sample:
<SigWxObsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cocorahs.Models">
<DateTimeStamp>2026-01-01T21:48:20.381509+00:00</DateTimeStamp>
<DepthOfSnowOnGround>1</DepthOfSnowOnGround>
<DepthOfSnowOnGroundIsTrace>true</DepthOfSnowOnGroundIsTrace>
<DepthOfSnowfall>1</DepthOfSnowfall>
<DepthOfSnowfallIsTrace>true</DepthOfSnowfallIsTrace>
<EntryDateTime>2026-01-01T21:48:20.381509+00:00</EntryDateTime>
<Flooding>sample string 10</Flooding>
<Id>1</Id>
<Latitude>1</Latitude>
<Longitude>1</Longitude>
<Notes>sample string 11</Notes>
<ObsDateTime xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2026-01-01T21:48:20.381509Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</ObsDateTime>
<PrecipDurationAmt>1</PrecipDurationAmt>
<PrecipDurationAmtIsTrace>true</PrecipDurationAmtIsTrace>
<PrecipDurationMin>1</PrecipDurationMin>
<Source>sample string 15</Source>
<StationId>2</StationId>
<StationName>sample string 4</StationName>
<StationNumber>sample string 3</StationNumber>
<TotalPrecipAmt>1</TotalPrecipAmt>
<TotalPrecipAmtIsTrace>true</TotalPrecipAmtIsTrace>
<Uid>03b8e7f1-6061-4cb7-b5d8-cc3dba7d3ce5</Uid>
<Units>English</Units>
</SigWxObsViewModel>