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": "6328fe5b-d9db-4be6-ab86-45cfacbd6deb",
"dateTimeStamp": "2026-01-01T21:46:37.4107294+00:00",
"entryDateTime": "2026-01-01T21:46:37.4107294+00:00",
"stationId": 5,
"stationNumber": "sample string 6",
"stationName": "sample string 7",
"latitude": 1.1,
"longitude": 1.1,
"obsDate": "2026-01-01T21:46:37.4107294+00:00",
"obsTime": "2026-01-01T21:46:37.4107294+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",
"obsPhotos": [
{
"obsPhotoId": 1,
"obsTypeId": 2,
"obsUid": "56c55504-5704-4f63-95d3-737c0b2a11fb",
"obsId": 1,
"createdByUserId": "02da95da-ad42-437f-b1b0-f812a1e8e4fb",
"modifiedByUserId": "a3099a8c-0fd7-491e-99f2-6e3f26310c0f",
"creationDate": "2026-01-01T21:46:37.4107294+00:00",
"dateTimeStamp": "2026-01-01T21:46:37.4107294+00:00",
"sortOrder": 7,
"originalUrl": "sample string 8",
"photoUrl": "sample string 9",
"thumbnailUrl": "sample string 10",
"caption": "sample string 11",
"tags": "sample string 12"
},
{
"obsPhotoId": 1,
"obsTypeId": 2,
"obsUid": "56c55504-5704-4f63-95d3-737c0b2a11fb",
"obsId": 1,
"createdByUserId": "02da95da-ad42-437f-b1b0-f812a1e8e4fb",
"modifiedByUserId": "a3099a8c-0fd7-491e-99f2-6e3f26310c0f",
"creationDate": "2026-01-01T21:46:37.4107294+00:00",
"dateTimeStamp": "2026-01-01T21:46:37.4107294+00:00",
"sortOrder": 7,
"originalUrl": "sample string 8",
"photoUrl": "sample string 9",
"thumbnailUrl": "sample string 10",
"caption": "sample string 11",
"tags": "sample string 12"
},
{
"obsPhotoId": 1,
"obsTypeId": 2,
"obsUid": "56c55504-5704-4f63-95d3-737c0b2a11fb",
"obsId": 1,
"createdByUserId": "02da95da-ad42-437f-b1b0-f812a1e8e4fb",
"modifiedByUserId": "a3099a8c-0fd7-491e-99f2-6e3f26310c0f",
"creationDate": "2026-01-01T21:46:37.4107294+00:00",
"dateTimeStamp": "2026-01-01T21:46:37.4107294+00:00",
"sortOrder": 7,
"originalUrl": "sample string 8",
"photoUrl": "sample string 9",
"thumbnailUrl": "sample string 10",
"caption": "sample string 11",
"tags": "sample string 12"
}
]
}
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>2026-01-01T21:46:37.4107294+00:00</DateTimeStamp>
<DepthOnGround>sample string 11</DepthOnGround>
<DurationAccuracy>sample string 12</DurationAccuracy>
<DurationMinutes>1</DurationMinutes>
<EntryDateTime>2026-01-01T21:46:37.4107294+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>2026-01-01T21:46:37.4107294+00:00</ObsDate>
<ObsPhotos>
<ObsPhotoViewModel>
<Caption>sample string 11</Caption>
<CreatedByUserId>02da95da-ad42-437f-b1b0-f812a1e8e4fb</CreatedByUserId>
<CreationDate>2026-01-01T21:46:37.4107294+00:00</CreationDate>
<DateTimeStamp>2026-01-01T21:46:37.4107294+00:00</DateTimeStamp>
<ModifiedByUserId>a3099a8c-0fd7-491e-99f2-6e3f26310c0f</ModifiedByUserId>
<ObsId>1</ObsId>
<ObsPhotoId>1</ObsPhotoId>
<ObsTypeId>2</ObsTypeId>
<ObsUid>56c55504-5704-4f63-95d3-737c0b2a11fb</ObsUid>
<OriginalUrl>sample string 8</OriginalUrl>
<PhotoUrl>sample string 9</PhotoUrl>
<SortOrder>7</SortOrder>
<Tags>sample string 12</Tags>
<ThumbnailUrl>sample string 10</ThumbnailUrl>
</ObsPhotoViewModel>
<ObsPhotoViewModel>
<Caption>sample string 11</Caption>
<CreatedByUserId>02da95da-ad42-437f-b1b0-f812a1e8e4fb</CreatedByUserId>
<CreationDate>2026-01-01T21:46:37.4107294+00:00</CreationDate>
<DateTimeStamp>2026-01-01T21:46:37.4107294+00:00</DateTimeStamp>
<ModifiedByUserId>a3099a8c-0fd7-491e-99f2-6e3f26310c0f</ModifiedByUserId>
<ObsId>1</ObsId>
<ObsPhotoId>1</ObsPhotoId>
<ObsTypeId>2</ObsTypeId>
<ObsUid>56c55504-5704-4f63-95d3-737c0b2a11fb</ObsUid>
<OriginalUrl>sample string 8</OriginalUrl>
<PhotoUrl>sample string 9</PhotoUrl>
<SortOrder>7</SortOrder>
<Tags>sample string 12</Tags>
<ThumbnailUrl>sample string 10</ThumbnailUrl>
</ObsPhotoViewModel>
<ObsPhotoViewModel>
<Caption>sample string 11</Caption>
<CreatedByUserId>02da95da-ad42-437f-b1b0-f812a1e8e4fb</CreatedByUserId>
<CreationDate>2026-01-01T21:46:37.4107294+00:00</CreationDate>
<DateTimeStamp>2026-01-01T21:46:37.4107294+00:00</DateTimeStamp>
<ModifiedByUserId>a3099a8c-0fd7-491e-99f2-6e3f26310c0f</ModifiedByUserId>
<ObsId>1</ObsId>
<ObsPhotoId>1</ObsPhotoId>
<ObsTypeId>2</ObsTypeId>
<ObsUid>56c55504-5704-4f63-95d3-737c0b2a11fb</ObsUid>
<OriginalUrl>sample string 8</OriginalUrl>
<PhotoUrl>sample string 9</PhotoUrl>
<SortOrder>7</SortOrder>
<Tags>sample string 12</Tags>
<ThumbnailUrl>sample string 10</ThumbnailUrl>
</ObsPhotoViewModel>
</ObsPhotos>
<ObsTime>2026-01-01T21:46:37.4107294+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>6328fe5b-d9db-4be6-ab86-45cfacbd6deb</Uid>
</HailObsViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.