POST api/SaveMAHInspection
Request Information
URI Parameters
None.
Body Parameters
MAHFactoryInspection| Name | Description | Type | Additional information |
|---|---|---|---|
| vchproduct | Collection of ProductInfo |
None. |
|
| vchrawmaterial | Collection of RawProductInfo |
None. |
|
| dtmendinspection | date |
None. |
|
| Start_Time | string |
None. |
|
| End_Time | string |
None. |
|
| vchCompliance1 | string |
None. |
|
| vchCompliance2 | string |
None. |
|
| vchCompliance3 | string |
None. |
|
| vchCompliance4 | string |
None. |
|
| vchCompliance5 | string |
None. |
|
| INTIND_Status | integer |
None. |
|
| Action | string |
None. |
|
| VchLincpower | string |
None. |
|
| VchName | string |
None. |
|
| vchtotcontra | string |
None. |
|
| VchtotCasual | string |
None. |
|
| intInspectionId | integer |
None. |
|
| vchfactoryname | string |
None. |
|
| vchaddress | string |
None. |
|
| vchfactoryManager | string |
None. |
|
| intHazadous | string |
None. |
|
| vchDangerousSec | string |
None. |
|
| vchLicenceNo | string |
None. |
|
| intTotalWorkers | integer |
None. |
|
| intTotalMaleWorker | integer |
None. |
|
| intTotalFemaleWorker | integer |
None. |
|
| vchinstalledPower | string |
None. |
|
| vchBuildingPlanApproval | string |
None. |
|
| vchapproval | string |
None. |
|
| vchLatrinesUrinals | string |
None. |
|
| vchWashingPlaces | string |
None. |
|
| vchFireExtinguishers | string |
None. |
|
| vchFireHydrantValves | string |
None. |
|
| vchFirstAidBoxes | string |
None. |
|
| vchSafetyOfficers | string |
None. |
|
| vchWelfareOfficers | string |
None. |
|
| vchAmbulanceRoom | string |
None. |
|
| vchAmbulanceVan | string |
None. |
|
| vchRestRoom | string |
None. |
|
| vchCanteenProvided | string |
None. |
|
| vchCanteenSittingStatus | string |
None. |
|
| vchNoticePeriodWork | string |
None. |
|
| vchPPEIssued | string |
None. |
|
| vchHealthCheckup | string |
None. |
|
| vchTotalWorkers | string |
None. |
|
| vchMedicallyExamined | string |
None. |
|
| vchSafetyPermitSystem | string |
None. |
|
| vchSafetyCommitteeMeetings | string |
None. |
|
| vchNoOfSafetyMeetings | string |
None. |
|
| vchEmergencyPlanApproved | string |
None. |
|
| vchNoOfMockDrills | string |
None. |
|
| vchSafetyAudit | string |
None. |
|
| vchmodality | string |
None. |
|
| vchAdultWorkerRegister | string |
None. |
|
| vchLeaveWagesRegister | string |
None. |
|
| vchLeaveBooksIssued | string |
None. |
|
| vchLeaveBooksDetails | string |
None. |
|
| vchOvertimeRegister | string |
None. |
|
| vchOvertimeWagesPaid | string |
None. |
|
| vchOvertimeSlipsIssued | string |
None. |
|
| vchOvertimeSlipsDetails | string |
None. |
|
| vchAccidentRegister | string |
None. |
|
| vchAccidentInvestigated | string |
None. |
|
| vchAccidentInvestigationDetails | string |
None. |
|
| vchCompensatoryHolidayRegister | string |
None. |
|
| vchFireDrillsConducted | string |
None. |
|
| vchCautionaryNotices | string |
None. |
|
| vchSafetyPolicyPrepared | string |
None. |
|
| vchSafetyPolicyDetails | string |
None. |
|
| vchPollutionControlNOC | string |
None. |
|
| vchOccupationalDiseaseStatus | string |
None. |
|
| vchSafetyTrainingPrograms | string |
None. |
|
| intCreatedBy | integer |
None. |
|
| Document1 | string |
None. |
|
| Document2 | string |
None. |
|
| Document3 | string |
None. |
|
| Document4 | string |
None. |
|
| Document5 | string |
None. |
|
| intShiftDetailId | integer |
None. |
|
| intARegular | integer |
None. |
|
| intAContractor | integer |
None. |
|
| intACasual | integer |
None. |
|
| intBRegular | integer |
None. |
|
| intBContractor | integer |
None. |
|
| intBCasual | integer |
None. |
|
| intCRegular | integer |
None. |
|
| intCContractor | integer |
None. |
|
| intCCasual | integer |
None. |
|
| intGRegular | integer |
None. |
|
| intGContractor | integer |
None. |
|
| intGCCasual | integer |
None. |
|
| intScheduleId | integer |
None. |
|
| intIndustryId | integer |
None. |
|
| FinalMergeReport | string |
None. |
|
| vchCurrentLong | string |
None. |
|
| vchCurrentLat | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"vchproduct": [
{
"name": "sample string 1",
"quantity": "sample string 2",
"unit": "sample string 3"
},
{
"name": "sample string 1",
"quantity": "sample string 2",
"unit": "sample string 3"
}
],
"vchrawmaterial": [
{
"name": "sample string 1",
"quantity": "sample string 2",
"unit": "sample string 3"
},
{
"name": "sample string 1",
"quantity": "sample string 2",
"unit": "sample string 3"
}
],
"dtmendinspection": "2026-04-10T20:38:29.8451851+05:30",
"Start_Time": "sample string 1",
"End_Time": "sample string 2",
"vchCompliance1": "sample string 3",
"vchCompliance2": "sample string 4",
"vchCompliance3": "sample string 5",
"vchCompliance4": "sample string 6",
"vchCompliance5": "sample string 7",
"INTIND_Status": 8,
"Action": "sample string 9",
"VchLincpower": "sample string 10",
"VchName": "sample string 11",
"vchtotcontra": "sample string 12",
"VchtotCasual": "sample string 13",
"intInspectionId": 14,
"vchfactoryname": "sample string 15",
"vchaddress": "sample string 16",
"vchfactoryManager": "sample string 17",
"intHazadous": "sample string 18",
"vchDangerousSec": "sample string 19",
"vchLicenceNo": "sample string 20",
"intTotalWorkers": 1,
"intTotalMaleWorker": 1,
"intTotalFemaleWorker": 1,
"vchinstalledPower": "sample string 21",
"vchBuildingPlanApproval": "sample string 22",
"vchapproval": "sample string 23",
"vchLatrinesUrinals": "sample string 24",
"vchWashingPlaces": "sample string 25",
"vchFireExtinguishers": "sample string 26",
"vchFireHydrantValves": "sample string 27",
"vchFirstAidBoxes": "sample string 28",
"vchSafetyOfficers": "sample string 29",
"vchWelfareOfficers": "sample string 30",
"vchAmbulanceRoom": "sample string 31",
"vchAmbulanceVan": "sample string 32",
"vchRestRoom": "sample string 33",
"vchCanteenProvided": "sample string 34",
"vchCanteenSittingStatus": "sample string 35",
"vchNoticePeriodWork": "sample string 36",
"vchPPEIssued": "sample string 37",
"vchHealthCheckup": "sample string 38",
"vchTotalWorkers": "sample string 39",
"vchMedicallyExamined": "sample string 40",
"vchSafetyPermitSystem": "sample string 41",
"vchSafetyCommitteeMeetings": "sample string 42",
"vchNoOfSafetyMeetings": "sample string 43",
"vchEmergencyPlanApproved": "sample string 44",
"vchNoOfMockDrills": "sample string 45",
"vchSafetyAudit": "sample string 46",
"vchmodality": "sample string 47",
"vchAdultWorkerRegister": "sample string 48",
"vchLeaveWagesRegister": "sample string 49",
"vchLeaveBooksIssued": "sample string 50",
"vchLeaveBooksDetails": "sample string 51",
"vchOvertimeRegister": "sample string 52",
"vchOvertimeWagesPaid": "sample string 53",
"vchOvertimeSlipsIssued": "sample string 54",
"vchOvertimeSlipsDetails": "sample string 55",
"vchAccidentRegister": "sample string 56",
"vchAccidentInvestigated": "sample string 57",
"vchAccidentInvestigationDetails": "sample string 58",
"vchCompensatoryHolidayRegister": "sample string 59",
"vchFireDrillsConducted": "sample string 60",
"vchCautionaryNotices": "sample string 61",
"vchSafetyPolicyPrepared": "sample string 62",
"vchSafetyPolicyDetails": "sample string 63",
"vchPollutionControlNOC": "sample string 64",
"vchOccupationalDiseaseStatus": "sample string 65",
"vchSafetyTrainingPrograms": "sample string 66",
"intCreatedBy": 1,
"Document1": "sample string 67",
"Document2": "sample string 68",
"Document3": "sample string 69",
"Document4": "sample string 70",
"Document5": "sample string 71",
"intShiftDetailId": 72,
"intARegular": 1,
"intAContractor": 1,
"intACasual": 1,
"intBRegular": 1,
"intBContractor": 1,
"intBCasual": 1,
"intCRegular": 1,
"intCContractor": 1,
"intCCasual": 1,
"intGRegular": 1,
"intGContractor": 1,
"intGCCasual": 1,
"intScheduleId": 1,
"intIndustryId": 1,
"FinalMergeReport": "sample string 73",
"vchCurrentLong": "sample string 74",
"vchCurrentLat": "sample string 75"
}
application/xml, text/xml
Sample:
<MAHFactoryInspection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/">
<Action>sample string 9</Action>
<Document1>sample string 67</Document1>
<Document2>sample string 68</Document2>
<Document3>sample string 69</Document3>
<Document4>sample string 70</Document4>
<Document5>sample string 71</Document5>
<End_Time>sample string 2</End_Time>
<FinalMergeReport>sample string 73</FinalMergeReport>
<INTIND_Status>8</INTIND_Status>
<Start_Time>sample string 1</Start_Time>
<VchLincpower>sample string 10</VchLincpower>
<VchName>sample string 11</VchName>
<VchtotCasual>sample string 13</VchtotCasual>
<dtmendinspection>2026-04-10T20:38:29.8451851+05:30</dtmendinspection>
<intACasual>1</intACasual>
<intAContractor>1</intAContractor>
<intARegular>1</intARegular>
<intBCasual>1</intBCasual>
<intBContractor>1</intBContractor>
<intBRegular>1</intBRegular>
<intCCasual>1</intCCasual>
<intCContractor>1</intCContractor>
<intCRegular>1</intCRegular>
<intCreatedBy>1</intCreatedBy>
<intGCCasual>1</intGCCasual>
<intGContractor>1</intGContractor>
<intGRegular>1</intGRegular>
<intHazadous>sample string 18</intHazadous>
<intIndustryId>1</intIndustryId>
<intInspectionId>14</intInspectionId>
<intScheduleId>1</intScheduleId>
<intShiftDetailId>72</intShiftDetailId>
<intTotalFemaleWorker>1</intTotalFemaleWorker>
<intTotalMaleWorker>1</intTotalMaleWorker>
<intTotalWorkers>1</intTotalWorkers>
<vchAccidentInvestigated>sample string 57</vchAccidentInvestigated>
<vchAccidentInvestigationDetails>sample string 58</vchAccidentInvestigationDetails>
<vchAccidentRegister>sample string 56</vchAccidentRegister>
<vchAdultWorkerRegister>sample string 48</vchAdultWorkerRegister>
<vchAmbulanceRoom>sample string 31</vchAmbulanceRoom>
<vchAmbulanceVan>sample string 32</vchAmbulanceVan>
<vchBuildingPlanApproval>sample string 22</vchBuildingPlanApproval>
<vchCanteenProvided>sample string 34</vchCanteenProvided>
<vchCanteenSittingStatus>sample string 35</vchCanteenSittingStatus>
<vchCautionaryNotices>sample string 61</vchCautionaryNotices>
<vchCompensatoryHolidayRegister>sample string 59</vchCompensatoryHolidayRegister>
<vchCompliance1>sample string 3</vchCompliance1>
<vchCompliance2>sample string 4</vchCompliance2>
<vchCompliance3>sample string 5</vchCompliance3>
<vchCompliance4>sample string 6</vchCompliance4>
<vchCompliance5>sample string 7</vchCompliance5>
<vchCurrentLat>sample string 75</vchCurrentLat>
<vchCurrentLong>sample string 74</vchCurrentLong>
<vchDangerousSec>sample string 19</vchDangerousSec>
<vchEmergencyPlanApproved>sample string 44</vchEmergencyPlanApproved>
<vchFireDrillsConducted>sample string 60</vchFireDrillsConducted>
<vchFireExtinguishers>sample string 26</vchFireExtinguishers>
<vchFireHydrantValves>sample string 27</vchFireHydrantValves>
<vchFirstAidBoxes>sample string 28</vchFirstAidBoxes>
<vchHealthCheckup>sample string 38</vchHealthCheckup>
<vchLatrinesUrinals>sample string 24</vchLatrinesUrinals>
<vchLeaveBooksDetails>sample string 51</vchLeaveBooksDetails>
<vchLeaveBooksIssued>sample string 50</vchLeaveBooksIssued>
<vchLeaveWagesRegister>sample string 49</vchLeaveWagesRegister>
<vchLicenceNo>sample string 20</vchLicenceNo>
<vchMedicallyExamined>sample string 40</vchMedicallyExamined>
<vchNoOfMockDrills>sample string 45</vchNoOfMockDrills>
<vchNoOfSafetyMeetings>sample string 43</vchNoOfSafetyMeetings>
<vchNoticePeriodWork>sample string 36</vchNoticePeriodWork>
<vchOccupationalDiseaseStatus>sample string 65</vchOccupationalDiseaseStatus>
<vchOvertimeRegister>sample string 52</vchOvertimeRegister>
<vchOvertimeSlipsDetails>sample string 55</vchOvertimeSlipsDetails>
<vchOvertimeSlipsIssued>sample string 54</vchOvertimeSlipsIssued>
<vchOvertimeWagesPaid>sample string 53</vchOvertimeWagesPaid>
<vchPPEIssued>sample string 37</vchPPEIssued>
<vchPollutionControlNOC>sample string 64</vchPollutionControlNOC>
<vchRestRoom>sample string 33</vchRestRoom>
<vchSafetyAudit>sample string 46</vchSafetyAudit>
<vchSafetyCommitteeMeetings>sample string 42</vchSafetyCommitteeMeetings>
<vchSafetyOfficers>sample string 29</vchSafetyOfficers>
<vchSafetyPermitSystem>sample string 41</vchSafetyPermitSystem>
<vchSafetyPolicyDetails>sample string 63</vchSafetyPolicyDetails>
<vchSafetyPolicyPrepared>sample string 62</vchSafetyPolicyPrepared>
<vchSafetyTrainingPrograms>sample string 66</vchSafetyTrainingPrograms>
<vchTotalWorkers>sample string 39</vchTotalWorkers>
<vchWashingPlaces>sample string 25</vchWashingPlaces>
<vchWelfareOfficers>sample string 30</vchWelfareOfficers>
<vchaddress>sample string 16</vchaddress>
<vchapproval>sample string 23</vchapproval>
<vchfactoryManager>sample string 17</vchfactoryManager>
<vchfactoryname>sample string 15</vchfactoryname>
<vchinstalledPower>sample string 21</vchinstalledPower>
<vchmodality>sample string 47</vchmodality>
<vchproduct>
<ProductInfo>
<name>sample string 1</name>
<quantity>sample string 2</quantity>
<unit>sample string 3</unit>
</ProductInfo>
<ProductInfo>
<name>sample string 1</name>
<quantity>sample string 2</quantity>
<unit>sample string 3</unit>
</ProductInfo>
</vchproduct>
<vchrawmaterial>
<RawProductInfo>
<name>sample string 1</name>
<quantity>sample string 2</quantity>
<unit>sample string 3</unit>
</RawProductInfo>
<RawProductInfo>
<name>sample string 1</name>
<quantity>sample string 2</quantity>
<unit>sample string 3</unit>
</RawProductInfo>
</vchrawmaterial>
<vchtotcontra>sample string 12</vchtotcontra>
</MAHFactoryInspection>
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.