POST api/MasterData/GetAll
Request Information
URI Parameters
None.
Body Parameters
MasterDataLister| Name | Description | Type | Additional information |
|---|---|---|---|
| MasterDatas | Collection of MasterData |
None. |
|
| SearchCriteria | MasterData |
None. |
|
| Pager | Pager |
None. |
|
| mStandards | Collection of string |
None. |
|
| QuestionId | integer |
None. |
|
| InspectionId | integer |
None. |
|
| Sequence | integer |
None. |
|
| InspectorId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"MasterDatas": [
{
"InspectionTypeId": 1,
"SequenceNo": 2,
"Standard": "sample string 3",
"Description": "sample string 4",
"IsHide": true,
"mHazardDescriptionMaster": {
"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:05:16.9920178+00:00",
"LastModifiedBy": 13,
"LastModifiedDate": "2025-12-16T01:05:16.9920178+00:00",
"DeletedBy": 1,
"DeletedDate": "2025-12-16T01:05:16.9920178+00:00",
"DisplayScore": "sample string 15",
"DisplayScoreColor": "sample string 16",
"InspectionType": "sample string 17"
},
"mControlMeasureMaster": {
"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:05:16.9920178+00:00",
"LastModifiedBy": 14,
"LastModifiedDate": "2025-12-16T01:05:16.9920178+00:00",
"DeletedBy": 1,
"DeletedDate": "2025-12-16T01:05:16.9920178+00:00",
"DisplayScore": "sample string 16",
"DisplayScoreColor": "sample string 17",
"InspectionType": "sample string 18"
}
},
{
"InspectionTypeId": 1,
"SequenceNo": 2,
"Standard": "sample string 3",
"Description": "sample string 4",
"IsHide": true,
"mHazardDescriptionMaster": {
"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:05:16.9920178+00:00",
"LastModifiedBy": 13,
"LastModifiedDate": "2025-12-16T01:05:16.9920178+00:00",
"DeletedBy": 1,
"DeletedDate": "2025-12-16T01:05:16.9920178+00:00",
"DisplayScore": "sample string 15",
"DisplayScoreColor": "sample string 16",
"InspectionType": "sample string 17"
},
"mControlMeasureMaster": {
"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:05:16.9920178+00:00",
"LastModifiedBy": 14,
"LastModifiedDate": "2025-12-16T01:05:16.9920178+00:00",
"DeletedBy": 1,
"DeletedDate": "2025-12-16T01:05:16.9920178+00:00",
"DisplayScore": "sample string 16",
"DisplayScoreColor": "sample string 17",
"InspectionType": "sample string 18"
}
}
],
"SearchCriteria": {
"InspectionTypeId": 1,
"SequenceNo": 2,
"Standard": "sample string 3",
"Description": "sample string 4",
"IsHide": true,
"mHazardDescriptionMaster": {
"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:05:16.9920178+00:00",
"LastModifiedBy": 13,
"LastModifiedDate": "2025-12-16T01:05:16.9920178+00:00",
"DeletedBy": 1,
"DeletedDate": "2025-12-16T01:05:16.9920178+00:00",
"DisplayScore": "sample string 15",
"DisplayScoreColor": "sample string 16",
"InspectionType": "sample string 17"
},
"mControlMeasureMaster": {
"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:05:16.9920178+00:00",
"LastModifiedBy": 14,
"LastModifiedDate": "2025-12-16T01:05:16.9920178+00:00",
"DeletedBy": 1,
"DeletedDate": "2025-12-16T01:05:16.9920178+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
},
"mStandards": [
"sample string 1",
"sample string 2"
],
"QuestionId": 1,
"InspectionId": 2,
"Sequence": 3,
"InspectorId": 4
}
application/xml, text/xml
Sample:
<MasterDataLister xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSCWebAPI.Domain">
<InspectionId>2</InspectionId>
<InspectorId>4</InspectorId>
<MasterDatas>
<MasterData>
<Description>sample string 4</Description>
<InspectionTypeId>1</InspectionTypeId>
<IsHide>true</IsHide>
<SequenceNo>2</SequenceNo>
<Standard>sample string 3</Standard>
<mControlMeasureMaster>
<CreatedBy>12</CreatedBy>
<CreatedDate>2025-12-16T01:05:16.9920178+00:00</CreatedDate>
<DegreeOfPossibleHarmId>6</DegreeOfPossibleHarmId>
<DeletedBy>1</DeletedBy>
<DeletedDate>2025-12-16T01:05:16.9920178+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:05:16.9920178+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>
</mControlMeasureMaster>
<mHazardDescriptionMaster>
<CreatedBy>11</CreatedBy>
<CreatedDate>2025-12-16T01:05:16.9920178+00:00</CreatedDate>
<DegreeOfPossibleHarmId>5</DegreeOfPossibleHarmId>
<DeletedBy>1</DeletedBy>
<DeletedDate>2025-12-16T01:05:16.9920178+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:05:16.9920178+00:00</LastModifiedDate>
<LikelihoodOfOccurrenceId>3</LikelihoodOfOccurrenceId>
<NumberOfPersonsAtRiskId>6</NumberOfPersonsAtRiskId>
<Score>7</Score>
<SequenceNo>8</SequenceNo>
<Standard>sample string 9</Standard>
</mHazardDescriptionMaster>
</MasterData>
<MasterData>
<Description>sample string 4</Description>
<InspectionTypeId>1</InspectionTypeId>
<IsHide>true</IsHide>
<SequenceNo>2</SequenceNo>
<Standard>sample string 3</Standard>
<mControlMeasureMaster>
<CreatedBy>12</CreatedBy>
<CreatedDate>2025-12-16T01:05:16.9920178+00:00</CreatedDate>
<DegreeOfPossibleHarmId>6</DegreeOfPossibleHarmId>
<DeletedBy>1</DeletedBy>
<DeletedDate>2025-12-16T01:05:16.9920178+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:05:16.9920178+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>
</mControlMeasureMaster>
<mHazardDescriptionMaster>
<CreatedBy>11</CreatedBy>
<CreatedDate>2025-12-16T01:05:16.9920178+00:00</CreatedDate>
<DegreeOfPossibleHarmId>5</DegreeOfPossibleHarmId>
<DeletedBy>1</DeletedBy>
<DeletedDate>2025-12-16T01:05:16.9920178+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:05:16.9920178+00:00</LastModifiedDate>
<LikelihoodOfOccurrenceId>3</LikelihoodOfOccurrenceId>
<NumberOfPersonsAtRiskId>6</NumberOfPersonsAtRiskId>
<Score>7</Score>
<SequenceNo>8</SequenceNo>
<Standard>sample string 9</Standard>
</mHazardDescriptionMaster>
</MasterData>
</MasterDatas>
<Pager>
<CurrentPage>4</CurrentPage>
<PageSize>1</PageSize>
<Skip>3</Skip>
<Take>2</Take>
<TotalPage>sample string 5</TotalPage>
<TotalRecord>6</TotalRecord>
</Pager>
<QuestionId>1</QuestionId>
<SearchCriteria>
<Description>sample string 4</Description>
<InspectionTypeId>1</InspectionTypeId>
<IsHide>true</IsHide>
<SequenceNo>2</SequenceNo>
<Standard>sample string 3</Standard>
<mControlMeasureMaster>
<CreatedBy>12</CreatedBy>
<CreatedDate>2025-12-16T01:05:16.9920178+00:00</CreatedDate>
<DegreeOfPossibleHarmId>6</DegreeOfPossibleHarmId>
<DeletedBy>1</DeletedBy>
<DeletedDate>2025-12-16T01:05:16.9920178+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:05:16.9920178+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>
</mControlMeasureMaster>
<mHazardDescriptionMaster>
<CreatedBy>11</CreatedBy>
<CreatedDate>2025-12-16T01:05:16.9920178+00:00</CreatedDate>
<DegreeOfPossibleHarmId>5</DegreeOfPossibleHarmId>
<DeletedBy>1</DeletedBy>
<DeletedDate>2025-12-16T01:05:16.9920178+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:05:16.9920178+00:00</LastModifiedDate>
<LikelihoodOfOccurrenceId>3</LikelihoodOfOccurrenceId>
<NumberOfPersonsAtRiskId>6</NumberOfPersonsAtRiskId>
<Score>7</Score>
<SequenceNo>8</SequenceNo>
<Standard>sample string 9</Standard>
</mHazardDescriptionMaster>
</SearchCriteria>
<Sequence>3</Sequence>
<mStandards xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</mStandards>
</MasterDataLister>
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.