GET api/MultidayPrecipObs/{id}?units={units}

Documentation for 'Get'.

Request Information

Parameters

NameDescriptionAdditional 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,
  "obsStartDate": "2024-10-03T23:26:26.6233953+00:00",
  "obsEndDateTime": "2024-10-03T23:26:26.6233953+00:00",
  "precip": 1.0,
  "precipIsTrace": true,
  "depthOfSnowOnGround": 1.0,
  "depthOfSnowOnGroundIsTrace": true,
  "waterContentOfSnowOnGround": 1.0,
  "waterContentOfSnowOnGroundIsTrace": true,
  "notes": "sample string 10",
  "uid": "7b7e709d-5917-48a4-94e1-e6bafc1ded40",
  "units": "english",
  "dateTimeStamp": "2024-10-03T23:26:26.6233953+00:00",
  "entryDateTime": "2024-10-03T23:26:26.6233953+00:00",
  "source": "sample string 14"
}

application/xml, text/xml

Sample:
<MultidayPrecipObsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cocorahs.Models">
  <DateTimeStamp>2024-10-03T23:26:26.6233953+00:00</DateTimeStamp>
  <DepthOfSnowOnGround>1</DepthOfSnowOnGround>
  <DepthOfSnowOnGroundIsTrace>true</DepthOfSnowOnGroundIsTrace>
  <EntryDateTime>2024-10-03T23:26:26.6233953+00:00</EntryDateTime>
  <Id>1</Id>
  <Latitude>1</Latitude>
  <Longitude>1</Longitude>
  <Notes>sample string 10</Notes>
  <ObsEndDateTime xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2024-10-03T23:26:26.6233953Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </ObsEndDateTime>
  <ObsStartDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2024-10-03T23:26:26.6233953Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </ObsStartDate>
  <Precip>1</Precip>
  <PrecipIsTrace>true</PrecipIsTrace>
  <Source>sample string 14</Source>
  <StationId>2</StationId>
  <StationName>sample string 4</StationName>
  <StationNumber>sample string 3</StationNumber>
  <Uid>7b7e709d-5917-48a4-94e1-e6bafc1ded40</Uid>
  <Units>English</Units>
  <WaterContentOfSnowOnGround>1</WaterContentOfSnowOnGround>
  <WaterContentOfSnowOnGroundIsTrace>true</WaterContentOfSnowOnGroundIsTrace>
</MultidayPrecipObsViewModel>