POST api/HazardMaster/UpdateIsHide
Request Information
URI Parameters
None.
Body Parameters
HazardMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| SequenceNo | integer |
None. |
|
| InspectionTypeId | integer |
None. |
|
| InspectionType | string |
None. |
|
| Standard | string |
None. |
|
| IsHide | boolean |
None. |
|
| hazardDescriptionMaster | HazardDescriptionMaster |
None. |
|
| controlMeasureMaster | ControlMeasureMaster |
None. |
Request Formats
application/json, text/json
Sample:
{
"SequenceNo": 1,
"InspectionTypeId": 2,
"InspectionType": "sample string 3",
"Standard": "sample string 4",
"IsHide": true,
"hazardDescriptionMaster": {
"Id": 1,
"Description": "sample string 2",
"LikelihoodOfOccurrenceId": 3,
"FrequencyOfExposureId": 4,
"DegreeOfPossibleHarmId": 5,
"NumberOfPersonsAtRiskId": 6,
"Score": 7.0,
"SequenceNo": 8,
"Standard": "sample string 9",
"IsHide": true,
"CreatedBy": 11,
"CreatedDate": "2025-12-16T01:03:40.7589562+00:00",
"LastModifiedBy": 13,
"LastModifiedDate": "2025-12-16T01:03:40.7589562+00:00",
"DeletedBy": 1,
"DeletedDate": "2025-12-16T01:03:40.7589562+00:00",
"DisplayScore": "sample string 15",
"DisplayScoreColor": "sample string 16",
"InspectionType": "sample string 17"
},
"controlMeasureMaster": {
"Id": 1,
"MeasureType": "sample string 2",
"Description": "sample string 3",
"LikelihoodOfOccurrenceId": 4,
"FrequencyOfExposureId": 5,
"DegreeOfPossibleHarmId": 6,
"NumberOfPersonsAtRiskId": 7,
"Score": 8.0,
"SequenceNo": 9,
"Standard": "sample string 10",
"IsHide": true,
"CreatedBy": 12,
"CreatedDate": "2025-12-16T01:03:40.7589562+00:00",
"LastModifiedBy": 14,
"LastModifiedDate": "2025-12-16T01:03:40.7589562+00:00",
"DeletedBy": 1,
"DeletedDate": "2025-12-16T01:03:40.7589562+00:00",
"DisplayScore": "sample string 16",
"DisplayScoreColor": "sample string 17",
"InspectionType": "sample string 18"
}
}
application/xml, text/xml
Sample:
<HazardMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSCWebAPI.Domain">
<InspectionType>sample string 3</InspectionType>
<InspectionTypeId>2</InspectionTypeId>
<IsHide>true</IsHide>
<SequenceNo>1</SequenceNo>
<Standard>sample string 4</Standard>
<controlMeasureMaster>
<CreatedBy>12</CreatedBy>
<CreatedDate>2025-12-16T01:03:40.7589562+00:00</CreatedDate>
<DegreeOfPossibleHarmId>6</DegreeOfPossibleHarmId>
<DeletedBy>1</DeletedBy>
<DeletedDate>2025-12-16T01:03:40.7589562+00:00</DeletedDate>
<Description>sample string 3</Description>
<DisplayScore>sample string 16</DisplayScore>
<DisplayScoreColor>sample string 17</DisplayScoreColor>
<FrequencyOfExposureId>5</FrequencyOfExposureId>
<Id>1</Id>
<InspectionType>sample string 18</InspectionType>
<IsHide>true</IsHide>
<LastModifiedBy>14</LastModifiedBy>
<LastModifiedDate>2025-12-16T01:03:40.7589562+00:00</LastModifiedDate>
<LikelihoodOfOccurrenceId>4</LikelihoodOfOccurrenceId>
<MeasureType>sample string 2</MeasureType>
<NumberOfPersonsAtRiskId>7</NumberOfPersonsAtRiskId>
<Score>8</Score>
<SequenceNo>9</SequenceNo>
<Standard>sample string 10</Standard>
</controlMeasureMaster>
<hazardDescriptionMaster>
<CreatedBy>11</CreatedBy>
<CreatedDate>2025-12-16T01:03:40.7589562+00:00</CreatedDate>
<DegreeOfPossibleHarmId>5</DegreeOfPossibleHarmId>
<DeletedBy>1</DeletedBy>
<DeletedDate>2025-12-16T01:03:40.7589562+00:00</DeletedDate>
<Description>sample string 2</Description>
<DisplayScore>sample string 15</DisplayScore>
<DisplayScoreColor>sample string 16</DisplayScoreColor>
<FrequencyOfExposureId>4</FrequencyOfExposureId>
<Id>1</Id>
<InspectionType>sample string 17</InspectionType>
<IsHide>true</IsHide>
<LastModifiedBy>13</LastModifiedBy>
<LastModifiedDate>2025-12-16T01:03:40.7589562+00:00</LastModifiedDate>
<LikelihoodOfOccurrenceId>3</LikelihoodOfOccurrenceId>
<NumberOfPersonsAtRiskId>6</NumberOfPersonsAtRiskId>
<Score>7</Score>
<SequenceNo>8</SequenceNo>
<Standard>sample string 9</Standard>
</hazardDescriptionMaster>
</HazardMaster>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.