GET api/HazardAssessment/Items?id={id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of HazardInventoryItems| Name | Description | Type | Additional information |
|---|---|---|---|
| HazardInventoryID | integer |
None. |
|
| HazardRiskRefID | integer |
None. |
|
| HazardExists | boolean |
None. |
|
| Comment | string |
None. |
|
| MinManningLevel | integer |
None. |
|
| CertificatedTrainingReq | boolean |
None. |
|
| UncontrolledRiskRating | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"HazardInventoryID": 1,
"HazardRiskRefID": 2,
"HazardExists": true,
"Comment": "sample string 4",
"MinManningLevel": 5,
"CertificatedTrainingReq": true,
"UncontrolledRiskRating": 7
},
{
"HazardInventoryID": 1,
"HazardRiskRefID": 2,
"HazardExists": true,
"Comment": "sample string 4",
"MinManningLevel": 5,
"CertificatedTrainingReq": true,
"UncontrolledRiskRating": 7
}
]
application/xml, text/xml
Sample:
<ArrayOfHazardInventoryItems xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BridgeStationDAL">
<HazardInventoryItems>
<CertificatedTrainingReq>true</CertificatedTrainingReq>
<Comment>sample string 4</Comment>
<HazardExists>true</HazardExists>
<HazardInventoryID>1</HazardInventoryID>
<HazardRiskRefID>2</HazardRiskRefID>
<MinManningLevel>5</MinManningLevel>
<UncontrolledRiskRating>7</UncontrolledRiskRating>
</HazardInventoryItems>
<HazardInventoryItems>
<CertificatedTrainingReq>true</CertificatedTrainingReq>
<Comment>sample string 4</Comment>
<HazardExists>true</HazardExists>
<HazardInventoryID>1</HazardInventoryID>
<HazardRiskRefID>2</HazardRiskRefID>
<MinManningLevel>5</MinManningLevel>
<UncontrolledRiskRating>7</UncontrolledRiskRating>
</HazardInventoryItems>
</ArrayOfHazardInventoryItems>