POST api/EMPPunchs/getPunchReortEmployees

Request Information

URI Parameters

None.

Body Parameters

FilterByEmployeeAndDates
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:
<FilterByEmployeeAndDates xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Railtech_HRMS.Model.EmployeeModal">
  <EMP_BasicDetail_Id>sample string 1</EMP_BasicDetail_Id>
  <PunchDateTime>sample string 2</PunchDateTime>
</FilterByEmployeeAndDates>

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

Response Information

Resource Description

EMPPunchResponseEmployees
NameDescriptionTypeAdditional information
StatusCode

integer

None.

status

string

None.

statusText

string

None.

EPRE

Collection of EMPPunchReportEmployeeWiseViews

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": 1,
  "status": "sample string 2",
  "statusText": "sample string 3",
  "EPRE": [
    {
      "PunchsId": "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",
      "WorkDuration": "sample string 13",
      "AfterFirstPunch": "sample string 14"
    },
    {
      "PunchsId": "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",
      "WorkDuration": "sample string 13",
      "AfterFirstPunch": "sample string 14"
    }
  ]
}

application/xml, text/xml

Sample:
<EMPPunchResponseEmployees xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Railtech_HRMS.Model.EmployeeModal">
  <EPRE>
    <EMPPunchReportEmployeeWiseViews>
      <AfterFirstPunch>sample string 14</AfterFirstPunch>
      <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>
      <PunchsId>sample string 1</PunchsId>
      <WorkDuration>sample string 13</WorkDuration>
    </EMPPunchReportEmployeeWiseViews>
    <EMPPunchReportEmployeeWiseViews>
      <AfterFirstPunch>sample string 14</AfterFirstPunch>
      <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>
      <PunchsId>sample string 1</PunchsId>
      <WorkDuration>sample string 13</WorkDuration>
    </EMPPunchReportEmployeeWiseViews>
  </EPRE>
  <StatusCode>1</StatusCode>
  <status>sample string 2</status>
  <statusText>sample string 3</statusText>
</EMPPunchResponseEmployees>