PUT api/HailObs
Documentation for 'Put'.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
obs | Documentation for 'obs'. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "id": 1, "uid": "63eb05bd-2f00-4926-b665-f0e8f67b8382", "dateTimeStamp": "2024-12-06T14:19:00.5619107+00:00", "entryDateTime": "2024-12-06T14:19:00.5619107+00:00", "stationId": 5, "stationNumber": "sample string 6", "stationName": "sample string 7", "latitude": 1.1, "longitude": 1.1, "obsDate": "2024-12-06T14:19:00.5775234+00:00", "obsTime": "2024-12-06T14:19:00.5775234+00:00", "smallestSize": 1.0, "averageSize": 1.0, "largestSize": 1.0, "angleOfImpact": "sample string 9", "damage": "sample string 10", "depthOnGround": "sample string 11", "durationAccuracy": "sample string 12", "durationMinutes": 1, "hailStarted": "sample string 13", "moreRainThanHail": true, "timing": "sample string 14", "notes": "sample string 15", "hailPadPhotoName": "sample string 16", "stoneConsistency": "sample string 17", "largestHailStarted": "sample string 18" }
application/xml, text/xml
Sample:
<HailObsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cocorahs.Models"> <AngleOfImpact>sample string 9</AngleOfImpact> <AverageSize>1</AverageSize> <Damage>sample string 10</Damage> <DateTimeStamp>2024-12-06T14:19:00.5619107+00:00</DateTimeStamp> <DepthOnGround>sample string 11</DepthOnGround> <DurationAccuracy>sample string 12</DurationAccuracy> <DurationMinutes>1</DurationMinutes> <EntryDateTime>2024-12-06T14:19:00.5619107+00:00</EntryDateTime> <HailPadPhotoName>sample string 16</HailPadPhotoName> <HailStarted>sample string 13</HailStarted> <Id>1</Id> <LargestHailStarted>sample string 18</LargestHailStarted> <LargestSize>1</LargestSize> <Latitude>1.1</Latitude> <Longitude>1.1</Longitude> <MoreRainThanHail>true</MoreRainThanHail> <Notes>sample string 15</Notes> <ObsDate>2024-12-06T14:19:00.5775234+00:00</ObsDate> <ObsTime>2024-12-06T14:19:00.5775234+00:00</ObsTime> <SmallestSize>1</SmallestSize> <StationId>5</StationId> <StationName>sample string 7</StationName> <StationNumber>sample string 6</StationNumber> <StoneConsistency>sample string 17</StoneConsistency> <Timing>sample string 14</Timing> <Uid>63eb05bd-2f00-4926-b665-f0e8f67b8382</Uid> </HailObsViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.