POST api/TrackerInitialHazard/GetAll
Request Information
URI Parameters
None.
Body Parameters
TrackerInitialHazardListerName | Description | Type | Additional information |
---|---|---|---|
TrackerInitialHazards | Collection of TrackerInitialHazard |
None. |
|
SearchCriteria | TrackerInitialHazard |
None. |
|
Pager | Pager |
None. |
Request Formats
application/json, text/json
Sample:
{ "TrackerInitialHazards": [ { "Id": 1, "TrackerLineId": 2, "HazardId": 3, "HazardDescriptionId": 4, "CreatedBy": 5, "CreatedDate": "2025-08-29T20:25:40.2561031+00:00", "LastModifiedBy": 7, "LastModifiedDate": "2025-08-29T20:25:40.2561031+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:25:40.2561031+00:00", "BgColor": "sample string 9", "ControlRiskDesc": "sample string 10", "HazardDescription": { "Id": 1, "HazardId": 2, "Description": "sample string 3", "LikelihoodOfOccurrenceId": 4, "FrequencyOfExposureId": 5, "DegreeOfPossibleHarmId": 6, "NumberOfPersonsAtRiskId": 7, "Score": 8.0, "CreatedBy": 9, "CreatedDate": "2025-08-29T20:25:40.2561031+00:00", "LastModifiedBy": 11, "LastModifiedDate": "2025-08-29T20:25:40.2561031+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:25:40.2561031+00:00", "CreatedByName": "sample string 13", "BgColor": "sample string 14", "RiskDescription": "sample string 15", "hazardDescriptionImages": [ { "Id": 1, "HazardDescriptionId": 2, "ImagePath": "sample string 3", "CreatedBy": 4, "CreatedDate": "2025-08-29T20:25:40.2561031+00:00", "LastModifiedBy": 6, "LastModifiedDate": "2025-08-29T20:25:40.2561031+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:25:40.2561031+00:00", "ImageBase64": "sample string 8", "LocalId": 9, "LocalHazardDescriptionId": 10 }, { "Id": 1, "HazardDescriptionId": 2, "ImagePath": "sample string 3", "CreatedBy": 4, "CreatedDate": "2025-08-29T20:25:40.2561031+00:00", "LastModifiedBy": 6, "LastModifiedDate": "2025-08-29T20:25:40.2561031+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:25:40.2561031+00:00", "ImageBase64": "sample string 8", "LocalId": 9, "LocalHazardDescriptionId": 10 } ], "IsImplementedControlCompleted": true, "LikelihoodOfOccurrenceIdName": "sample string 17", "FrequencyOfExposureIdName": "sample string 18", "DegreeOfPossibleHarmIdName": "sample string 19", "NumberOfPersonsAtRiskIdName": "sample string 20" } }, { "Id": 1, "TrackerLineId": 2, "HazardId": 3, "HazardDescriptionId": 4, "CreatedBy": 5, "CreatedDate": "2025-08-29T20:25:40.2561031+00:00", "LastModifiedBy": 7, "LastModifiedDate": "2025-08-29T20:25:40.2561031+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:25:40.2561031+00:00", "BgColor": "sample string 9", "ControlRiskDesc": "sample string 10", "HazardDescription": { "Id": 1, "HazardId": 2, "Description": "sample string 3", "LikelihoodOfOccurrenceId": 4, "FrequencyOfExposureId": 5, "DegreeOfPossibleHarmId": 6, "NumberOfPersonsAtRiskId": 7, "Score": 8.0, "CreatedBy": 9, "CreatedDate": "2025-08-29T20:25:40.2561031+00:00", "LastModifiedBy": 11, "LastModifiedDate": "2025-08-29T20:25:40.2561031+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:25:40.2561031+00:00", "CreatedByName": "sample string 13", "BgColor": "sample string 14", "RiskDescription": "sample string 15", "hazardDescriptionImages": [ { "Id": 1, "HazardDescriptionId": 2, "ImagePath": "sample string 3", "CreatedBy": 4, "CreatedDate": "2025-08-29T20:25:40.2561031+00:00", "LastModifiedBy": 6, "LastModifiedDate": "2025-08-29T20:25:40.2561031+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:25:40.2561031+00:00", "ImageBase64": "sample string 8", "LocalId": 9, "LocalHazardDescriptionId": 10 }, { "Id": 1, "HazardDescriptionId": 2, "ImagePath": "sample string 3", "CreatedBy": 4, "CreatedDate": "2025-08-29T20:25:40.2561031+00:00", "LastModifiedBy": 6, "LastModifiedDate": "2025-08-29T20:25:40.2561031+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:25:40.2561031+00:00", "ImageBase64": "sample string 8", "LocalId": 9, "LocalHazardDescriptionId": 10 } ], "IsImplementedControlCompleted": true, "LikelihoodOfOccurrenceIdName": "sample string 17", "FrequencyOfExposureIdName": "sample string 18", "DegreeOfPossibleHarmIdName": "sample string 19", "NumberOfPersonsAtRiskIdName": "sample string 20" } } ], "SearchCriteria": { "Id": 1, "TrackerLineId": 2, "HazardId": 3, "HazardDescriptionId": 4, "CreatedBy": 5, "CreatedDate": "2025-08-29T20:25:40.2561031+00:00", "LastModifiedBy": 7, "LastModifiedDate": "2025-08-29T20:25:40.2561031+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:25:40.2561031+00:00", "BgColor": "sample string 9", "ControlRiskDesc": "sample string 10", "HazardDescription": { "Id": 1, "HazardId": 2, "Description": "sample string 3", "LikelihoodOfOccurrenceId": 4, "FrequencyOfExposureId": 5, "DegreeOfPossibleHarmId": 6, "NumberOfPersonsAtRiskId": 7, "Score": 8.0, "CreatedBy": 9, "CreatedDate": "2025-08-29T20:25:40.2561031+00:00", "LastModifiedBy": 11, "LastModifiedDate": "2025-08-29T20:25:40.2561031+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:25:40.2561031+00:00", "CreatedByName": "sample string 13", "BgColor": "sample string 14", "RiskDescription": "sample string 15", "hazardDescriptionImages": [ { "Id": 1, "HazardDescriptionId": 2, "ImagePath": "sample string 3", "CreatedBy": 4, "CreatedDate": "2025-08-29T20:25:40.2561031+00:00", "LastModifiedBy": 6, "LastModifiedDate": "2025-08-29T20:25:40.2561031+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:25:40.2561031+00:00", "ImageBase64": "sample string 8", "LocalId": 9, "LocalHazardDescriptionId": 10 }, { "Id": 1, "HazardDescriptionId": 2, "ImagePath": "sample string 3", "CreatedBy": 4, "CreatedDate": "2025-08-29T20:25:40.2561031+00:00", "LastModifiedBy": 6, "LastModifiedDate": "2025-08-29T20:25:40.2561031+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:25:40.2561031+00:00", "ImageBase64": "sample string 8", "LocalId": 9, "LocalHazardDescriptionId": 10 } ], "IsImplementedControlCompleted": true, "LikelihoodOfOccurrenceIdName": "sample string 17", "FrequencyOfExposureIdName": "sample string 18", "DegreeOfPossibleHarmIdName": "sample string 19", "NumberOfPersonsAtRiskIdName": "sample string 20" } }, "Pager": { "PageSize": 1, "Take": 2, "Skip": 3, "CurrentPage": 4.0, "TotalPage": "sample string 5", "TotalRecord": 6.0 } }
application/xml, text/xml
Sample:
<TrackerInitialHazardLister xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSCWebAPI.Domain"> <Pager> <CurrentPage>4</CurrentPage> <PageSize>1</PageSize> <Skip>3</Skip> <Take>2</Take> <TotalPage>sample string 5</TotalPage> <TotalRecord>6</TotalRecord> </Pager> <SearchCriteria> <BgColor>sample string 9</BgColor> <ControlRiskDesc>sample string 10</ControlRiskDesc> <CreatedBy>5</CreatedBy> <CreatedDate>2025-08-29T20:25:40.2561031+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:25:40.2561031+00:00</DeletedDate> <HazardDescription> <BgColor>sample string 14</BgColor> <CreatedBy>9</CreatedBy> <CreatedByName>sample string 13</CreatedByName> <CreatedDate>2025-08-29T20:25:40.2561031+00:00</CreatedDate> <DegreeOfPossibleHarmId>6</DegreeOfPossibleHarmId> <DegreeOfPossibleHarmIdName>sample string 19</DegreeOfPossibleHarmIdName> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:25:40.2561031+00:00</DeletedDate> <Description>sample string 3</Description> <FrequencyOfExposureId>5</FrequencyOfExposureId> <FrequencyOfExposureIdName>sample string 18</FrequencyOfExposureIdName> <HazardId>2</HazardId> <Id>1</Id> <IsImplementedControlCompleted>true</IsImplementedControlCompleted> <LastModifiedBy>11</LastModifiedBy> <LastModifiedDate>2025-08-29T20:25:40.2561031+00:00</LastModifiedDate> <LikelihoodOfOccurrenceId>4</LikelihoodOfOccurrenceId> <LikelihoodOfOccurrenceIdName>sample string 17</LikelihoodOfOccurrenceIdName> <NumberOfPersonsAtRiskId>7</NumberOfPersonsAtRiskId> <NumberOfPersonsAtRiskIdName>sample string 20</NumberOfPersonsAtRiskIdName> <RiskDescription>sample string 15</RiskDescription> <Score>8</Score> <hazardDescriptionImages> <HazardDescriptionImage> <CreatedBy>4</CreatedBy> <CreatedDate>2025-08-29T20:25:40.2561031+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:25:40.2561031+00:00</DeletedDate> <HazardDescriptionId>2</HazardDescriptionId> <Id>1</Id> <ImageBase64>sample string 8</ImageBase64> <ImagePath>sample string 3</ImagePath> <LastModifiedBy>6</LastModifiedBy> <LastModifiedDate>2025-08-29T20:25:40.2561031+00:00</LastModifiedDate> <LocalHazardDescriptionId>10</LocalHazardDescriptionId> <LocalId>9</LocalId> </HazardDescriptionImage> <HazardDescriptionImage> <CreatedBy>4</CreatedBy> <CreatedDate>2025-08-29T20:25:40.2561031+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:25:40.2561031+00:00</DeletedDate> <HazardDescriptionId>2</HazardDescriptionId> <Id>1</Id> <ImageBase64>sample string 8</ImageBase64> <ImagePath>sample string 3</ImagePath> <LastModifiedBy>6</LastModifiedBy> <LastModifiedDate>2025-08-29T20:25:40.2561031+00:00</LastModifiedDate> <LocalHazardDescriptionId>10</LocalHazardDescriptionId> <LocalId>9</LocalId> </HazardDescriptionImage> </hazardDescriptionImages> </HazardDescription> <HazardDescriptionId>4</HazardDescriptionId> <HazardId>3</HazardId> <Id>1</Id> <LastModifiedBy>7</LastModifiedBy> <LastModifiedDate>2025-08-29T20:25:40.2561031+00:00</LastModifiedDate> <TrackerLineId>2</TrackerLineId> </SearchCriteria> <TrackerInitialHazards> <TrackerInitialHazard> <BgColor>sample string 9</BgColor> <ControlRiskDesc>sample string 10</ControlRiskDesc> <CreatedBy>5</CreatedBy> <CreatedDate>2025-08-29T20:25:40.2561031+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:25:40.2561031+00:00</DeletedDate> <HazardDescription> <BgColor>sample string 14</BgColor> <CreatedBy>9</CreatedBy> <CreatedByName>sample string 13</CreatedByName> <CreatedDate>2025-08-29T20:25:40.2561031+00:00</CreatedDate> <DegreeOfPossibleHarmId>6</DegreeOfPossibleHarmId> <DegreeOfPossibleHarmIdName>sample string 19</DegreeOfPossibleHarmIdName> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:25:40.2561031+00:00</DeletedDate> <Description>sample string 3</Description> <FrequencyOfExposureId>5</FrequencyOfExposureId> <FrequencyOfExposureIdName>sample string 18</FrequencyOfExposureIdName> <HazardId>2</HazardId> <Id>1</Id> <IsImplementedControlCompleted>true</IsImplementedControlCompleted> <LastModifiedBy>11</LastModifiedBy> <LastModifiedDate>2025-08-29T20:25:40.2561031+00:00</LastModifiedDate> <LikelihoodOfOccurrenceId>4</LikelihoodOfOccurrenceId> <LikelihoodOfOccurrenceIdName>sample string 17</LikelihoodOfOccurrenceIdName> <NumberOfPersonsAtRiskId>7</NumberOfPersonsAtRiskId> <NumberOfPersonsAtRiskIdName>sample string 20</NumberOfPersonsAtRiskIdName> <RiskDescription>sample string 15</RiskDescription> <Score>8</Score> <hazardDescriptionImages> <HazardDescriptionImage> <CreatedBy>4</CreatedBy> <CreatedDate>2025-08-29T20:25:40.2561031+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:25:40.2561031+00:00</DeletedDate> <HazardDescriptionId>2</HazardDescriptionId> <Id>1</Id> <ImageBase64>sample string 8</ImageBase64> <ImagePath>sample string 3</ImagePath> <LastModifiedBy>6</LastModifiedBy> <LastModifiedDate>2025-08-29T20:25:40.2561031+00:00</LastModifiedDate> <LocalHazardDescriptionId>10</LocalHazardDescriptionId> <LocalId>9</LocalId> </HazardDescriptionImage> <HazardDescriptionImage> <CreatedBy>4</CreatedBy> <CreatedDate>2025-08-29T20:25:40.2561031+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:25:40.2561031+00:00</DeletedDate> <HazardDescriptionId>2</HazardDescriptionId> <Id>1</Id> <ImageBase64>sample string 8</ImageBase64> <ImagePath>sample string 3</ImagePath> <LastModifiedBy>6</LastModifiedBy> <LastModifiedDate>2025-08-29T20:25:40.2561031+00:00</LastModifiedDate> <LocalHazardDescriptionId>10</LocalHazardDescriptionId> <LocalId>9</LocalId> </HazardDescriptionImage> </hazardDescriptionImages> </HazardDescription> <HazardDescriptionId>4</HazardDescriptionId> <HazardId>3</HazardId> <Id>1</Id> <LastModifiedBy>7</LastModifiedBy> <LastModifiedDate>2025-08-29T20:25:40.2561031+00:00</LastModifiedDate> <TrackerLineId>2</TrackerLineId> </TrackerInitialHazard> <TrackerInitialHazard> <BgColor>sample string 9</BgColor> <ControlRiskDesc>sample string 10</ControlRiskDesc> <CreatedBy>5</CreatedBy> <CreatedDate>2025-08-29T20:25:40.2561031+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:25:40.2561031+00:00</DeletedDate> <HazardDescription> <BgColor>sample string 14</BgColor> <CreatedBy>9</CreatedBy> <CreatedByName>sample string 13</CreatedByName> <CreatedDate>2025-08-29T20:25:40.2561031+00:00</CreatedDate> <DegreeOfPossibleHarmId>6</DegreeOfPossibleHarmId> <DegreeOfPossibleHarmIdName>sample string 19</DegreeOfPossibleHarmIdName> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:25:40.2561031+00:00</DeletedDate> <Description>sample string 3</Description> <FrequencyOfExposureId>5</FrequencyOfExposureId> <FrequencyOfExposureIdName>sample string 18</FrequencyOfExposureIdName> <HazardId>2</HazardId> <Id>1</Id> <IsImplementedControlCompleted>true</IsImplementedControlCompleted> <LastModifiedBy>11</LastModifiedBy> <LastModifiedDate>2025-08-29T20:25:40.2561031+00:00</LastModifiedDate> <LikelihoodOfOccurrenceId>4</LikelihoodOfOccurrenceId> <LikelihoodOfOccurrenceIdName>sample string 17</LikelihoodOfOccurrenceIdName> <NumberOfPersonsAtRiskId>7</NumberOfPersonsAtRiskId> <NumberOfPersonsAtRiskIdName>sample string 20</NumberOfPersonsAtRiskIdName> <RiskDescription>sample string 15</RiskDescription> <Score>8</Score> <hazardDescriptionImages> <HazardDescriptionImage> <CreatedBy>4</CreatedBy> <CreatedDate>2025-08-29T20:25:40.2561031+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:25:40.2561031+00:00</DeletedDate> <HazardDescriptionId>2</HazardDescriptionId> <Id>1</Id> <ImageBase64>sample string 8</ImageBase64> <ImagePath>sample string 3</ImagePath> <LastModifiedBy>6</LastModifiedBy> <LastModifiedDate>2025-08-29T20:25:40.2561031+00:00</LastModifiedDate> <LocalHazardDescriptionId>10</LocalHazardDescriptionId> <LocalId>9</LocalId> </HazardDescriptionImage> <HazardDescriptionImage> <CreatedBy>4</CreatedBy> <CreatedDate>2025-08-29T20:25:40.2561031+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:25:40.2561031+00:00</DeletedDate> <HazardDescriptionId>2</HazardDescriptionId> <Id>1</Id> <ImageBase64>sample string 8</ImageBase64> <ImagePath>sample string 3</ImagePath> <LastModifiedBy>6</LastModifiedBy> <LastModifiedDate>2025-08-29T20:25:40.2561031+00:00</LastModifiedDate> <LocalHazardDescriptionId>10</LocalHazardDescriptionId> <LocalId>9</LocalId> </HazardDescriptionImage> </hazardDescriptionImages> </HazardDescription> <HazardDescriptionId>4</HazardDescriptionId> <HazardId>3</HazardId> <Id>1</Id> <LastModifiedBy>7</LastModifiedBy> <LastModifiedDate>2025-08-29T20:25:40.2561031+00:00</LastModifiedDate> <TrackerLineId>2</TrackerLineId> </TrackerInitialHazard> </TrackerInitialHazards> </TrackerInitialHazardLister>
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.