POST api/UserManagement/getLabourInRefineryDetailCAData
Request Information
URI Parameters
None.
Body Parameters
LabourInRefineryRequestData| Name | Description | Type | Additional information |
|---|---|---|---|
| ContractorId | integer |
None. |
|
| WorkOrder | integer |
None. |
|
| WcPolicy | integer |
None. |
|
| SubContractorId | integer |
None. |
|
| SubContractorWorkOrder | integer |
None. |
|
| SubContractorWcPolicy | integer |
None. |
|
| NatureOfWork | integer |
None. |
|
| Gender | string |
None. |
|
| WorkerCategory | integer |
None. |
|
| Department | string |
None. |
|
| WorkType | integer |
None. |
|
| Active | boolean |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| PlantCode | string |
None. |
|
| DemandType | integer |
None. |
|
| UserId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ContractorId": 1,
"WorkOrder": 1,
"WcPolicy": 1,
"SubContractorId": 1,
"SubContractorWorkOrder": 1,
"SubContractorWcPolicy": 1,
"NatureOfWork": 1,
"Gender": "sample string 1",
"WorkerCategory": 1,
"Department": "sample string 2",
"WorkType": 1,
"Active": true,
"StartDate": "2026-06-21T08:20:08.2799027+00:00",
"EndDate": "2026-06-21T08:20:08.2799027+00:00",
"PlantCode": "sample string 5",
"DemandType": 6,
"UserId": 7
}
application/xml, text/xml
Sample:
<LabourInRefineryRequestData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModelHRMS"> <Active>true</Active> <ContractorId>1</ContractorId> <DemandType>6</DemandType> <Department>sample string 2</Department> <EndDate>2026-06-21T08:20:08.2799027+00:00</EndDate> <Gender>sample string 1</Gender> <NatureOfWork>1</NatureOfWork> <PlantCode>sample string 5</PlantCode> <StartDate>2026-06-21T08:20:08.2799027+00:00</StartDate> <SubContractorId>1</SubContractorId> <SubContractorWcPolicy>1</SubContractorWcPolicy> <SubContractorWorkOrder>1</SubContractorWorkOrder> <UserId>7</UserId> <WcPolicy>1</WcPolicy> <WorkOrder>1</WorkOrder> <WorkType>1</WorkType> <WorkerCategory>1</WorkerCategory> </LabourInRefineryRequestData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ContractManAttendanceSummaryReportData| Name | Description | Type | Additional information |
|---|---|---|---|
| ContractorName | string |
None. |
|
| WorkOrderNo | string |
None. |
|
| DepartmentName | string |
None. |
|
| Allowed | integer |
None. |
|
| GeneratedContractor | integer |
None. |
|
| GeneratedSubContractor | integer |
None. |
|
| GeneratedRemainingPerson | integer |
None. |
|
| GeneratedContractorForGeneral | integer |
None. |
|
| GeneratedSubContractorForGeneral | integer |
None. |
|
| GeneratedContractorForShutDown | integer |
None. |
|
| GeneratedSubContractorForShutDown | integer |
None. |
|
| Male | integer |
None. |
|
| FeMale | integer |
None. |
|
| GeneralPresent | integer |
None. |
|
| ShutDownPresent | integer |
None. |
|
| GeneralAbsent | integer |
None. |
|
| ShutDownAbsent | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ContractorName": "sample string 1",
"WorkOrderNo": "sample string 2",
"DepartmentName": "sample string 3",
"Allowed": 1,
"GeneratedContractor": 1,
"GeneratedSubContractor": 1,
"GeneratedRemainingPerson": 1,
"GeneratedContractorForGeneral": 1,
"GeneratedSubContractorForGeneral": 1,
"GeneratedContractorForShutDown": 1,
"GeneratedSubContractorForShutDown": 1,
"Male": 1,
"FeMale": 1,
"GeneralPresent": 1,
"ShutDownPresent": 1,
"GeneralAbsent": 1,
"ShutDownAbsent": 1
},
{
"ContractorName": "sample string 1",
"WorkOrderNo": "sample string 2",
"DepartmentName": "sample string 3",
"Allowed": 1,
"GeneratedContractor": 1,
"GeneratedSubContractor": 1,
"GeneratedRemainingPerson": 1,
"GeneratedContractorForGeneral": 1,
"GeneratedSubContractorForGeneral": 1,
"GeneratedContractorForShutDown": 1,
"GeneratedSubContractorForShutDown": 1,
"Male": 1,
"FeMale": 1,
"GeneralPresent": 1,
"ShutDownPresent": 1,
"GeneralAbsent": 1,
"ShutDownAbsent": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfContractManAttendanceSummaryReportData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModelHRMS">
<ContractManAttendanceSummaryReportData>
<Allowed>1</Allowed>
<ContractorName>sample string 1</ContractorName>
<DepartmentName>sample string 3</DepartmentName>
<FeMale>1</FeMale>
<GeneralAbsent>1</GeneralAbsent>
<GeneralPresent>1</GeneralPresent>
<GeneratedContractor>1</GeneratedContractor>
<GeneratedContractorForGeneral>1</GeneratedContractorForGeneral>
<GeneratedContractorForShutDown>1</GeneratedContractorForShutDown>
<GeneratedRemainingPerson>1</GeneratedRemainingPerson>
<GeneratedSubContractor>1</GeneratedSubContractor>
<GeneratedSubContractorForGeneral>1</GeneratedSubContractorForGeneral>
<GeneratedSubContractorForShutDown>1</GeneratedSubContractorForShutDown>
<Male>1</Male>
<ShutDownAbsent>1</ShutDownAbsent>
<ShutDownPresent>1</ShutDownPresent>
<WorkOrderNo>sample string 2</WorkOrderNo>
</ContractManAttendanceSummaryReportData>
<ContractManAttendanceSummaryReportData>
<Allowed>1</Allowed>
<ContractorName>sample string 1</ContractorName>
<DepartmentName>sample string 3</DepartmentName>
<FeMale>1</FeMale>
<GeneralAbsent>1</GeneralAbsent>
<GeneralPresent>1</GeneralPresent>
<GeneratedContractor>1</GeneratedContractor>
<GeneratedContractorForGeneral>1</GeneratedContractorForGeneral>
<GeneratedContractorForShutDown>1</GeneratedContractorForShutDown>
<GeneratedRemainingPerson>1</GeneratedRemainingPerson>
<GeneratedSubContractor>1</GeneratedSubContractor>
<GeneratedSubContractorForGeneral>1</GeneratedSubContractorForGeneral>
<GeneratedSubContractorForShutDown>1</GeneratedSubContractorForShutDown>
<Male>1</Male>
<ShutDownAbsent>1</ShutDownAbsent>
<ShutDownPresent>1</ShutDownPresent>
<WorkOrderNo>sample string 2</WorkOrderNo>
</ContractManAttendanceSummaryReportData>
</ArrayOfContractManAttendanceSummaryReportData>