POST api/HazardDescriptionMaster/GetAll

Request Information

URI Parameters

None.

Body Parameters

HazardDescriptionMasterLister
NameDescriptionTypeAdditional information
HazardDescriptionMasters

Collection of HazardDescriptionMaster

None.

SearchCriteria

HazardDescriptionMaster

None.

Pager

Pager

None.

Request Formats

application/json, text/json

Sample:
{
  "HazardDescriptionMasters": [
    {
      "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:52.528728+00:00",
      "LastModifiedBy": 13,
      "LastModifiedDate": "2025-08-29T20:26:52.528728+00:00",
      "DeletedBy": 1,
      "DeletedDate": "2025-08-29T20:26:52.528728+00:00",
      "DisplayScore": "sample string 15",
      "DisplayScoreColor": "sample string 16",
      "InspectionType": "sample string 17"
    },
    {
      "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:52.528728+00:00",
      "LastModifiedBy": 13,
      "LastModifiedDate": "2025-08-29T20:26:52.528728+00:00",
      "DeletedBy": 1,
      "DeletedDate": "2025-08-29T20:26:52.528728+00:00",
      "DisplayScore": "sample string 15",
      "DisplayScoreColor": "sample string 16",
      "InspectionType": "sample string 17"
    }
  ],
  "SearchCriteria": {
    "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:52.528728+00:00",
    "LastModifiedBy": 13,
    "LastModifiedDate": "2025-08-29T20:26:52.528728+00:00",
    "DeletedBy": 1,
    "DeletedDate": "2025-08-29T20:26:52.528728+00:00",
    "DisplayScore": "sample string 15",
    "DisplayScoreColor": "sample string 16",
    "InspectionType": "sample string 17"
  },
  "Pager": {
    "PageSize": 1,
    "Take": 2,
    "Skip": 3,
    "CurrentPage": 4.0,
    "TotalPage": "sample string 5",
    "TotalRecord": 6.0
  }
}

application/xml, text/xml

Sample:
<HazardDescriptionMasterLister xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSCWebAPI.Domain">
  <HazardDescriptionMasters>
    <HazardDescriptionMaster>
      <CreatedBy>11</CreatedBy>
      <CreatedDate>2025-08-29T20:26:52.528728+00:00</CreatedDate>
      <DegreeOfPossibleHarmId>5</DegreeOfPossibleHarmId>
      <DeletedBy>1</DeletedBy>
      <DeletedDate>2025-08-29T20:26:52.528728+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:52.528728+00:00</LastModifiedDate>
      <LikelihoodOfOccurrenceId>3</LikelihoodOfOccurrenceId>
      <NumberOfPersonsAtRiskId>6</NumberOfPersonsAtRiskId>
      <Score>7</Score>
      <SequenceNo>8</SequenceNo>
      <Standard>sample string 9</Standard>
    </HazardDescriptionMaster>
    <HazardDescriptionMaster>
      <CreatedBy>11</CreatedBy>
      <CreatedDate>2025-08-29T20:26:52.528728+00:00</CreatedDate>
      <DegreeOfPossibleHarmId>5</DegreeOfPossibleHarmId>
      <DeletedBy>1</DeletedBy>
      <DeletedDate>2025-08-29T20:26:52.528728+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:52.528728+00:00</LastModifiedDate>
      <LikelihoodOfOccurrenceId>3</LikelihoodOfOccurrenceId>
      <NumberOfPersonsAtRiskId>6</NumberOfPersonsAtRiskId>
      <Score>7</Score>
      <SequenceNo>8</SequenceNo>
      <Standard>sample string 9</Standard>
    </HazardDescriptionMaster>
  </HazardDescriptionMasters>
  <Pager>
    <CurrentPage>4</CurrentPage>
    <PageSize>1</PageSize>
    <Skip>3</Skip>
    <Take>2</Take>
    <TotalPage>sample string 5</TotalPage>
    <TotalRecord>6</TotalRecord>
  </Pager>
  <SearchCriteria>
    <CreatedBy>11</CreatedBy>
    <CreatedDate>2025-08-29T20:26:52.528728+00:00</CreatedDate>
    <DegreeOfPossibleHarmId>5</DegreeOfPossibleHarmId>
    <DeletedBy>1</DeletedBy>
    <DeletedDate>2025-08-29T20:26:52.528728+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:52.528728+00:00</LastModifiedDate>
    <LikelihoodOfOccurrenceId>3</LikelihoodOfOccurrenceId>
    <NumberOfPersonsAtRiskId>6</NumberOfPersonsAtRiskId>
    <Score>7</Score>
    <SequenceNo>8</SequenceNo>
    <Standard>sample string 9</Standard>
  </SearchCriteria>
</HazardDescriptionMasterLister>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.