GET api/CmObs/{id}
Documentation for 'Get'.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
id | Documentation for 'id'. |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{ "id": 1, "dateTimeStamp": "2025-06-24T16:31:36.0408483+00:00", "entryDateTime": "2025-06-24T16:31:36.0408483+00:00", "source": "sample string 4", "stationId": 5, "stationNumber": "sample string 6", "stationName": "sample string 7", "latitude": 1.0, "longitude": 1.0, "obsDate": "2025-06-24T16:31:36.0408483+00:00", "scaleBar": 1, "isGeneralAwareness": true, "isAgriculture": true, "isBusinessAndIndustry": true, "isEnergy": true, "isFire": true, "isPlantsAndWildlife": true, "isReliefResponse": true, "isSocietyAndPublicHealth": true, "isTourismAndRecreation": true, "isWaterSupplyAndQuality": true, "notes": "sample string 19", "obsPhotos": [ { "obsPhotoId": 1, "obsTypeId": 2, "obsUid": "2351dc22-7135-42b0-b05a-58d3adbfe56c", "obsId": 1, "createdByUserId": "07f2cc8a-8ee5-4f7b-a18f-bb703a387443", "modifiedByUserId": "60645dee-fd11-459e-933e-6295a4a421f1", "creationDate": "2025-06-24T16:31:36.0408483+00:00", "dateTimeStamp": "2025-06-24T16:31:36.0408483+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": "2351dc22-7135-42b0-b05a-58d3adbfe56c", "obsId": 1, "createdByUserId": "07f2cc8a-8ee5-4f7b-a18f-bb703a387443", "modifiedByUserId": "60645dee-fd11-459e-933e-6295a4a421f1", "creationDate": "2025-06-24T16:31:36.0408483+00:00", "dateTimeStamp": "2025-06-24T16:31:36.0408483+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": "2351dc22-7135-42b0-b05a-58d3adbfe56c", "obsId": 1, "createdByUserId": "07f2cc8a-8ee5-4f7b-a18f-bb703a387443", "modifiedByUserId": "60645dee-fd11-459e-933e-6295a4a421f1", "creationDate": "2025-06-24T16:31:36.0408483+00:00", "dateTimeStamp": "2025-06-24T16:31:36.0408483+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:
<CmObsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cocorahs.Models"> <DateTimeStamp>2025-06-24T16:31:36.0408483+00:00</DateTimeStamp> <EntryDateTime>2025-06-24T16:31:36.0408483+00:00</EntryDateTime> <Id>1</Id> <IsAgriculture>true</IsAgriculture> <IsBusinessAndIndustry>true</IsBusinessAndIndustry> <IsEnergy>true</IsEnergy> <IsFire>true</IsFire> <IsGeneralAwareness>true</IsGeneralAwareness> <IsPlantsAndWildlife>true</IsPlantsAndWildlife> <IsReliefResponse>true</IsReliefResponse> <IsSocietyAndPublicHealth>true</IsSocietyAndPublicHealth> <IsTourismAndRecreation>true</IsTourismAndRecreation> <IsWaterSupplyAndQuality>true</IsWaterSupplyAndQuality> <Latitude>1</Latitude> <Longitude>1</Longitude> <Notes>sample string 19</Notes> <ObsDate>2025-06-24T16:31:36.0408483+00:00</ObsDate> <ObsPhotos> <ObsPhotoViewModel> <Caption>sample string 11</Caption> <CreatedByUserId>07f2cc8a-8ee5-4f7b-a18f-bb703a387443</CreatedByUserId> <CreationDate>2025-06-24T16:31:36.0408483+00:00</CreationDate> <DateTimeStamp>2025-06-24T16:31:36.0408483+00:00</DateTimeStamp> <ModifiedByUserId>60645dee-fd11-459e-933e-6295a4a421f1</ModifiedByUserId> <ObsId>1</ObsId> <ObsPhotoId>1</ObsPhotoId> <ObsTypeId>2</ObsTypeId> <ObsUid>2351dc22-7135-42b0-b05a-58d3adbfe56c</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>07f2cc8a-8ee5-4f7b-a18f-bb703a387443</CreatedByUserId> <CreationDate>2025-06-24T16:31:36.0408483+00:00</CreationDate> <DateTimeStamp>2025-06-24T16:31:36.0408483+00:00</DateTimeStamp> <ModifiedByUserId>60645dee-fd11-459e-933e-6295a4a421f1</ModifiedByUserId> <ObsId>1</ObsId> <ObsPhotoId>1</ObsPhotoId> <ObsTypeId>2</ObsTypeId> <ObsUid>2351dc22-7135-42b0-b05a-58d3adbfe56c</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>07f2cc8a-8ee5-4f7b-a18f-bb703a387443</CreatedByUserId> <CreationDate>2025-06-24T16:31:36.0408483+00:00</CreationDate> <DateTimeStamp>2025-06-24T16:31:36.0408483+00:00</DateTimeStamp> <ModifiedByUserId>60645dee-fd11-459e-933e-6295a4a421f1</ModifiedByUserId> <ObsId>1</ObsId> <ObsPhotoId>1</ObsPhotoId> <ObsTypeId>2</ObsTypeId> <ObsUid>2351dc22-7135-42b0-b05a-58d3adbfe56c</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> <ScaleBar>1</ScaleBar> <Source>sample string 4</Source> <StationId>5</StationId> <StationName>sample string 7</StationName> <StationNumber>sample string 6</StationNumber> </CmObsViewModel>