GET api/HailObs/{id}?uid={uid}
Documentation for 'Get'.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
id | Documentation for 'id'. |
Define this parameter in the request URI. |
uid | Documentation for 'uid'. |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{ "id": 1, "uid": "b28707cc-6f9c-4fdc-af20-9f83f5d9b22e", "dateTimeStamp": "2024-12-29T11:55:40.4536745+00:00", "entryDateTime": "2024-12-29T11:55:40.4536745+00:00", "stationId": 5, "stationNumber": "sample string 6", "stationName": "sample string 7", "latitude": 1.1, "longitude": 1.1, "obsDate": "2024-12-29T11:55:40.4536745+00:00", "obsTime": "2024-12-29T11:55:40.4536745+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-29T11:55:40.4536745+00:00</DateTimeStamp> <DepthOnGround>sample string 11</DepthOnGround> <DurationAccuracy>sample string 12</DurationAccuracy> <DurationMinutes>1</DurationMinutes> <EntryDateTime>2024-12-29T11:55:40.4536745+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-29T11:55:40.4536745+00:00</ObsDate> <ObsTime>2024-12-29T11:55:40.4536745+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>b28707cc-6f9c-4fdc-af20-9f83f5d9b22e</Uid> </HailObsViewModel>