POST api/EMPPunch/getPunchReortEmployee

Request Information

URI Parameters

None.

Body Parameters

FilterByEmployeeAndDate
NameDescriptionTypeAdditional information
EMP_BasicDetail_Id

string

None.

PunchDateTime

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EMP_BasicDetail_Id": "sample string 1",
  "PunchDateTime": "sample string 2"
}

application/xml, text/xml

Sample:
<FilterByEmployeeAndDate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APCO_APP.MODAL.EmployeeModal">
  <EMP_BasicDetail_Id>sample string 1</EMP_BasicDetail_Id>
  <PunchDateTime>sample string 2</PunchDateTime>
</FilterByEmployeeAndDate>

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 'FilterByEmployeeAndDate'.

Response Information

Resource Description

EMPPunchResponseEmployee
NameDescriptionTypeAdditional information
StatusCode

integer

None.

status

string

None.

statusText

string

None.

EPRE

Collection of EMPPunchReportEmployeeWiseView

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": 1,
  "status": "sample string 2",
  "statusText": "sample string 3",
  "EPRE": [
    {
      "PunchId": "sample string 1",
      "EMP_BasicDetail_Id": "sample string 2",
      "EMPKey": "sample string 3",
      "FullName": "sample string 4",
      "PunchDate": "sample string 5",
      "FirstPunchTime": "sample string 6",
      "LastPunchTime": "sample string 7",
      "FirstLocation": "sample string 8",
      "LastLocation": "sample string 9",
      "FirstImage": "sample string 10",
      "LastImage": "sample string 11",
      "AttStatus": "sample string 12"
    },
    {
      "PunchId": "sample string 1",
      "EMP_BasicDetail_Id": "sample string 2",
      "EMPKey": "sample string 3",
      "FullName": "sample string 4",
      "PunchDate": "sample string 5",
      "FirstPunchTime": "sample string 6",
      "LastPunchTime": "sample string 7",
      "FirstLocation": "sample string 8",
      "LastLocation": "sample string 9",
      "FirstImage": "sample string 10",
      "LastImage": "sample string 11",
      "AttStatus": "sample string 12"
    }
  ]
}

application/xml, text/xml

Sample:
<EMPPunchResponseEmployee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APCO_APP.MODAL.EmployeeModal">
  <EPRE>
    <EMPPunchReportEmployeeWiseView>
      <AttStatus>sample string 12</AttStatus>
      <EMPKey>sample string 3</EMPKey>
      <EMP_BasicDetail_Id>sample string 2</EMP_BasicDetail_Id>
      <FirstImage>sample string 10</FirstImage>
      <FirstLocation>sample string 8</FirstLocation>
      <FirstPunchTime>sample string 6</FirstPunchTime>
      <FullName>sample string 4</FullName>
      <LastImage>sample string 11</LastImage>
      <LastLocation>sample string 9</LastLocation>
      <LastPunchTime>sample string 7</LastPunchTime>
      <PunchDate>sample string 5</PunchDate>
      <PunchId>sample string 1</PunchId>
    </EMPPunchReportEmployeeWiseView>
    <EMPPunchReportEmployeeWiseView>
      <AttStatus>sample string 12</AttStatus>
      <EMPKey>sample string 3</EMPKey>
      <EMP_BasicDetail_Id>sample string 2</EMP_BasicDetail_Id>
      <FirstImage>sample string 10</FirstImage>
      <FirstLocation>sample string 8</FirstLocation>
      <FirstPunchTime>sample string 6</FirstPunchTime>
      <FullName>sample string 4</FullName>
      <LastImage>sample string 11</LastImage>
      <LastLocation>sample string 9</LastLocation>
      <LastPunchTime>sample string 7</LastPunchTime>
      <PunchDate>sample string 5</PunchDate>
      <PunchId>sample string 1</PunchId>
    </EMPPunchReportEmployeeWiseView>
  </EPRE>
  <StatusCode>1</StatusCode>
  <status>sample string 2</status>
  <statusText>sample string 3</statusText>
</EMPPunchResponseEmployee>