POST api/EMPPunch/getTotalPresentAbsent

Request Information

URI Parameters

None.

Body Parameters

EMPPunchPresentAbsent
NameDescriptionTypeAdditional information
EMP_BasicDetail_Id

string

None.

FullName

string

None.

EMPKey

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:
{
  "EMP_BasicDetail_Id": "sample string 1",
  "FullName": "sample string 2",
  "EMPKey": "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:
<EMPPunchPresentAbsent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APCO_APP.MODAL.EmployeeModal">
  <CostCenterName>sample string 5</CostCenterName>
  <DepartmentHead>sample string 4</DepartmentHead>
  <EMPKey>sample string 3</EMPKey>
  <EMP_BasicDetail_Id>sample string 1</EMP_BasicDetail_Id>
  <FullName>sample string 2</FullName>
  <Month>sample string 8</Month>
  <TotalAbsent>sample string 7</TotalAbsent>
  <TotalPresent>sample string 6</TotalPresent>
  <Year>sample string 9</Year>
</EMPPunchPresentAbsent>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'EMPPunchPresentAbsent'.

Response Information

Resource Description

EMPPunchResponsePresentAbsent
NameDescriptionTypeAdditional information
StatusCode

integer

None.

status

string

None.

statusText

string

None.

EPA

EMPPunchPresentAbsent

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": 1,
  "status": "sample string 2",
  "statusText": "sample string 3",
  "EPA": {
    "EMP_BasicDetail_Id": "sample string 1",
    "FullName": "sample string 2",
    "EMPKey": "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:
<EMPPunchResponsePresentAbsent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APCO_APP.MODAL.EmployeeModal">
  <EPA>
    <CostCenterName>sample string 5</CostCenterName>
    <DepartmentHead>sample string 4</DepartmentHead>
    <EMPKey>sample string 3</EMPKey>
    <EMP_BasicDetail_Id>sample string 1</EMP_BasicDetail_Id>
    <FullName>sample string 2</FullName>
    <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>
</EMPPunchResponsePresentAbsent>