POST api/LabourPunch/getTotalPresentAbsent
Request Information
URI Parameters
None.
Body Parameters
LabourPunchPresentAbsent| Name | Description | Type | Additional information |
|---|---|---|---|
| LabourId | string |
None. |
|
| FullName | string |
None. |
|
| EMPId | string |
None. |
|
| DepartmentHead | string |
None. |
|
| CostCenterName | string |
None. |
|
| TotalPresent | string |
None. |
|
| TotalAbsent | string |
None. |
|
| Month | string |
None. |
|
| Year | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"LabourId": "sample string 1",
"FullName": "sample string 2",
"EMPId": "sample string 3",
"DepartmentHead": "sample string 4",
"CostCenterName": "sample string 5",
"TotalPresent": "sample string 6",
"TotalAbsent": "sample string 7",
"Month": "sample string 8",
"Year": "sample string 9"
}
application/xml, text/xml
Sample:
<LabourPunchPresentAbsent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Railtech_HRMS.Model.EmployeeModal"> <CostCenterName>sample string 5</CostCenterName> <DepartmentHead>sample string 4</DepartmentHead> <EMPId>sample string 3</EMPId> <FullName>sample string 2</FullName> <LabourId>sample string 1</LabourId> <Month>sample string 8</Month> <TotalAbsent>sample string 7</TotalAbsent> <TotalPresent>sample string 6</TotalPresent> <Year>sample string 9</Year> </LabourPunchPresentAbsent>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
LabourPunchResponsePresentAbsent| Name | Description | Type | Additional information |
|---|---|---|---|
| StatusCode | integer |
None. |
|
| status | string |
None. |
|
| statusText | string |
None. |
|
| EPA | LabourPunchPresentAbsent |
None. |
Response Formats
application/json, text/json
Sample:
{
"StatusCode": 1,
"status": "sample string 2",
"statusText": "sample string 3",
"EPA": {
"LabourId": "sample string 1",
"FullName": "sample string 2",
"EMPId": "sample string 3",
"DepartmentHead": "sample string 4",
"CostCenterName": "sample string 5",
"TotalPresent": "sample string 6",
"TotalAbsent": "sample string 7",
"Month": "sample string 8",
"Year": "sample string 9"
}
}
application/xml, text/xml
Sample:
<LabourPunchResponsePresentAbsent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Railtech_HRMS.Model.EmployeeModal">
<EPA>
<CostCenterName>sample string 5</CostCenterName>
<DepartmentHead>sample string 4</DepartmentHead>
<EMPId>sample string 3</EMPId>
<FullName>sample string 2</FullName>
<LabourId>sample string 1</LabourId>
<Month>sample string 8</Month>
<TotalAbsent>sample string 7</TotalAbsent>
<TotalPresent>sample string 6</TotalPresent>
<Year>sample string 9</Year>
</EPA>
<StatusCode>1</StatusCode>
<status>sample string 2</status>
<statusText>sample string 3</statusText>
</LabourPunchResponsePresentAbsent>