PUT api/HazardAssessment?HazardAssessmentID={HazardAssessmentID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
HazardAssessmentID

integer

Required

Body Parameters

HazardInventory
NameDescriptionTypeAdditional 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.

Request Formats

application/json, text/json

Sample:
{
  "HazardInventoryID": 1,
  "StructureID": 2,
  "AssessmentDate": "2026-06-01T18:47:58.8291301+01:00",
  "AssessmentBy": "sample string 4",
  "Cmnt": "sample string 5",
  "InspectionID": 6,
  "AccessInfo": "sample string 7",
  "StatusID": 8,
  "LastUpdated": "2026-06-01T18:47:58.8291301+01:00",
  "LastUpdatedByUserID": 10,
  "Archived": true,
  "ArchivedBy": 12,
  "ArchivedDate": "2026-06-01T18:47:58.8291301+01:00",
  "ReasonForArchive": "sample string 14"
}

application/xml, text/xml

Sample:
<HazardInventory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BridgeStationDAL">
  <AccessInfo>sample string 7</AccessInfo>
  <Archived>true</Archived>
  <ArchivedBy>12</ArchivedBy>
  <ArchivedDate>2026-06-01T18:47:58.8291301+01:00</ArchivedDate>
  <AssessmentBy>sample string 4</AssessmentBy>
  <AssessmentDate>2026-06-01T18:47:58.8291301+01:00</AssessmentDate>
  <Cmnt>sample string 5</Cmnt>
  <HazardInventoryID>1</HazardInventoryID>
  <InspectionID>6</InspectionID>
  <LastUpdated>2026-06-01T18:47:58.8291301+01:00</LastUpdated>
  <LastUpdatedByUserID>10</LastUpdatedByUserID>
  <ReasonForArchive>sample string 14</ReasonForArchive>
  <StatusID>8</StatusID>
  <StructureID>2</StructureID>
</HazardInventory>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.