GET api/HazardAssessment?id={id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of HazardInventory| Name | Description | Type | Additional information |
|---|---|---|---|
| HazardInventoryID | integer |
None. |
|
| StructureID | integer |
None. |
|
| AssessmentDate | date |
None. |
|
| AssessmentBy | string |
None. |
|
| Cmnt | string |
None. |
|
| InspectionID | integer |
None. |
|
| AccessInfo | string |
None. |
|
| StatusID | integer |
None. |
|
| LastUpdated | date |
None. |
|
| LastUpdatedByUserID | integer |
None. |
|
| Archived | boolean |
None. |
|
| ArchivedBy | integer |
None. |
|
| ArchivedDate | date |
None. |
|
| ReasonForArchive | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"HazardInventoryID": 1,
"StructureID": 2,
"AssessmentDate": "2026-06-01T18:47:35.0009135+01:00",
"AssessmentBy": "sample string 4",
"Cmnt": "sample string 5",
"InspectionID": 6,
"AccessInfo": "sample string 7",
"StatusID": 8,
"LastUpdated": "2026-06-01T18:47:35.0009135+01:00",
"LastUpdatedByUserID": 10,
"Archived": true,
"ArchivedBy": 12,
"ArchivedDate": "2026-06-01T18:47:35.0009135+01:00",
"ReasonForArchive": "sample string 14"
},
{
"HazardInventoryID": 1,
"StructureID": 2,
"AssessmentDate": "2026-06-01T18:47:35.0009135+01:00",
"AssessmentBy": "sample string 4",
"Cmnt": "sample string 5",
"InspectionID": 6,
"AccessInfo": "sample string 7",
"StatusID": 8,
"LastUpdated": "2026-06-01T18:47:35.0009135+01:00",
"LastUpdatedByUserID": 10,
"Archived": true,
"ArchivedBy": 12,
"ArchivedDate": "2026-06-01T18:47:35.0009135+01:00",
"ReasonForArchive": "sample string 14"
}
]
application/xml, text/xml
Sample:
<ArrayOfHazardInventory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BridgeStationDAL">
<HazardInventory>
<AccessInfo>sample string 7</AccessInfo>
<Archived>true</Archived>
<ArchivedBy>12</ArchivedBy>
<ArchivedDate>2026-06-01T18:47:35.0009135+01:00</ArchivedDate>
<AssessmentBy>sample string 4</AssessmentBy>
<AssessmentDate>2026-06-01T18:47:35.0009135+01:00</AssessmentDate>
<Cmnt>sample string 5</Cmnt>
<HazardInventoryID>1</HazardInventoryID>
<InspectionID>6</InspectionID>
<LastUpdated>2026-06-01T18:47:35.0009135+01:00</LastUpdated>
<LastUpdatedByUserID>10</LastUpdatedByUserID>
<ReasonForArchive>sample string 14</ReasonForArchive>
<StatusID>8</StatusID>
<StructureID>2</StructureID>
</HazardInventory>
<HazardInventory>
<AccessInfo>sample string 7</AccessInfo>
<Archived>true</Archived>
<ArchivedBy>12</ArchivedBy>
<ArchivedDate>2026-06-01T18:47:35.0009135+01:00</ArchivedDate>
<AssessmentBy>sample string 4</AssessmentBy>
<AssessmentDate>2026-06-01T18:47:35.0009135+01:00</AssessmentDate>
<Cmnt>sample string 5</Cmnt>
<HazardInventoryID>1</HazardInventoryID>
<InspectionID>6</InspectionID>
<LastUpdated>2026-06-01T18:47:35.0009135+01:00</LastUpdated>
<LastUpdatedByUserID>10</LastUpdatedByUserID>
<ReasonForArchive>sample string 14</ReasonForArchive>
<StatusID>8</StatusID>
<StructureID>2</StructureID>
</HazardInventory>
</ArrayOfHazardInventory>