POST api/HazardDescriptionMaster
Request Information
URI Parameters
None.
Body Parameters
HazardDescriptionMasterName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Description | string |
None. |
|
LikelihoodOfOccurrenceId | integer |
None. |
|
FrequencyOfExposureId | integer |
None. |
|
DegreeOfPossibleHarmId | integer |
None. |
|
NumberOfPersonsAtRiskId | integer |
None. |
|
Score | decimal number |
None. |
|
SequenceNo | integer |
None. |
|
Standard | string |
None. |
|
IsHide | boolean |
None. |
|
CreatedBy | integer |
None. |
|
CreatedDate | date |
None. |
|
LastModifiedBy | integer |
None. |
|
LastModifiedDate | date |
None. |
|
DeletedBy | integer |
None. |
|
DeletedDate | date |
None. |
|
DisplayScore | string |
None. |
|
DisplayScoreColor | string |
None. |
|
InspectionType | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "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-08-29T20:26:23.2167471+00:00", "LastModifiedBy": 13, "LastModifiedDate": "2025-08-29T20:26:23.2167471+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:26:23.2167471+00:00", "DisplayScore": "sample string 15", "DisplayScoreColor": "sample string 16", "InspectionType": "sample string 17" }
application/xml, text/xml
Sample:
<HazardDescriptionMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSCWebAPI.Domain"> <CreatedBy>11</CreatedBy> <CreatedDate>2025-08-29T20:26:23.2167471+00:00</CreatedDate> <DegreeOfPossibleHarmId>5</DegreeOfPossibleHarmId> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:26:23.2167471+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-08-29T20:26:23.2167471+00:00</LastModifiedDate> <LikelihoodOfOccurrenceId>3</LikelihoodOfOccurrenceId> <NumberOfPersonsAtRiskId>6</NumberOfPersonsAtRiskId> <Score>7</Score> <SequenceNo>8</SequenceNo> <Standard>sample string 9</Standard> </HazardDescriptionMaster>
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.