POST api/HazardMaster/GetAll
Request Information
URI Parameters
None.
Body Parameters
HazardMasterListerName | Description | Type | Additional information |
---|---|---|---|
HazardMasters | Collection of HazardMaster |
None. |
|
SearchCriteria | HazardMaster |
None. |
|
Pager | Pager |
None. |
|
SequenceNo | integer |
None. |
|
InspectionTypeId | integer |
None. |
|
InspectionType | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "HazardMasters": [ { "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-08-29T20:26:54.8034525+00:00", "LastModifiedBy": 13, "LastModifiedDate": "2025-08-29T20:26:54.8034525+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:26:54.8034525+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-08-29T20:26:54.8034525+00:00", "LastModifiedBy": 14, "LastModifiedDate": "2025-08-29T20:26:54.8034525+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:26:54.8034525+00:00", "DisplayScore": "sample string 16", "DisplayScoreColor": "sample string 17", "InspectionType": "sample string 18" } }, { "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-08-29T20:26:54.8034525+00:00", "LastModifiedBy": 13, "LastModifiedDate": "2025-08-29T20:26:54.8034525+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:26:54.8034525+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-08-29T20:26:54.8034525+00:00", "LastModifiedBy": 14, "LastModifiedDate": "2025-08-29T20:26:54.8034525+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:26:54.8034525+00:00", "DisplayScore": "sample string 16", "DisplayScoreColor": "sample string 17", "InspectionType": "sample string 18" } } ], "SearchCriteria": { "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-08-29T20:26:54.8034525+00:00", "LastModifiedBy": 13, "LastModifiedDate": "2025-08-29T20:26:54.8034525+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:26:54.8034525+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-08-29T20:26:54.8034525+00:00", "LastModifiedBy": 14, "LastModifiedDate": "2025-08-29T20:26:54.8034525+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:26:54.8034525+00:00", "DisplayScore": "sample string 16", "DisplayScoreColor": "sample string 17", "InspectionType": "sample string 18" } }, "Pager": { "PageSize": 1, "Take": 2, "Skip": 3, "CurrentPage": 4.0, "TotalPage": "sample string 5", "TotalRecord": 6.0 }, "SequenceNo": 1, "InspectionTypeId": 2, "InspectionType": "sample string 3" }
application/xml, text/xml
Sample:
<HazardMasterLister xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSCWebAPI.Domain"> <HazardMasters> <HazardMaster> <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-08-29T20:26:54.8034525+00:00</CreatedDate> <DegreeOfPossibleHarmId>6</DegreeOfPossibleHarmId> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:26:54.8034525+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-08-29T20:26:54.8034525+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-08-29T20:26:54.8034525+00:00</CreatedDate> <DegreeOfPossibleHarmId>5</DegreeOfPossibleHarmId> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:26:54.8034525+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:54.8034525+00:00</LastModifiedDate> <LikelihoodOfOccurrenceId>3</LikelihoodOfOccurrenceId> <NumberOfPersonsAtRiskId>6</NumberOfPersonsAtRiskId> <Score>7</Score> <SequenceNo>8</SequenceNo> <Standard>sample string 9</Standard> </hazardDescriptionMaster> </HazardMaster> <HazardMaster> <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-08-29T20:26:54.8034525+00:00</CreatedDate> <DegreeOfPossibleHarmId>6</DegreeOfPossibleHarmId> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:26:54.8034525+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-08-29T20:26:54.8034525+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-08-29T20:26:54.8034525+00:00</CreatedDate> <DegreeOfPossibleHarmId>5</DegreeOfPossibleHarmId> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:26:54.8034525+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:54.8034525+00:00</LastModifiedDate> <LikelihoodOfOccurrenceId>3</LikelihoodOfOccurrenceId> <NumberOfPersonsAtRiskId>6</NumberOfPersonsAtRiskId> <Score>7</Score> <SequenceNo>8</SequenceNo> <Standard>sample string 9</Standard> </hazardDescriptionMaster> </HazardMaster> </HazardMasters> <InspectionType>sample string 3</InspectionType> <InspectionTypeId>2</InspectionTypeId> <Pager> <CurrentPage>4</CurrentPage> <PageSize>1</PageSize> <Skip>3</Skip> <Take>2</Take> <TotalPage>sample string 5</TotalPage> <TotalRecord>6</TotalRecord> </Pager> <SearchCriteria> <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-08-29T20:26:54.8034525+00:00</CreatedDate> <DegreeOfPossibleHarmId>6</DegreeOfPossibleHarmId> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:26:54.8034525+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-08-29T20:26:54.8034525+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-08-29T20:26:54.8034525+00:00</CreatedDate> <DegreeOfPossibleHarmId>5</DegreeOfPossibleHarmId> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:26:54.8034525+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:54.8034525+00:00</LastModifiedDate> <LikelihoodOfOccurrenceId>3</LikelihoodOfOccurrenceId> <NumberOfPersonsAtRiskId>6</NumberOfPersonsAtRiskId> <Score>7</Score> <SequenceNo>8</SequenceNo> <Standard>sample string 9</Standard> </hazardDescriptionMaster> </SearchCriteria> <SequenceNo>1</SequenceNo> </HazardMasterLister>
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.