POST api/TeamEMPPunch/getPunchReportEmployee

Request Information

URI Parameters

None.

Body Parameters

FilterByEmployeeAndDateTeam
NameDescriptionTypeAdditional information
EMP_BasicDetail_Id

string

None.

MarkedByUserId

string

None.

PunchDateTime

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<FilterByEmployeeAndDateTeam 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>
  <MarkedByUserId>sample string 2</MarkedByUserId>
  <PunchDateTime>sample string 3</PunchDateTime>
</FilterByEmployeeAndDateTeam>

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

Response Information

Resource Description

EMPPunchTeamResponseEmployee
NameDescriptionTypeAdditional information
StatusCode

integer

None.

status

string

None.

statusText

string

None.

EPRE

Collection of EMPPunchReportEmployeeWiseTeamView

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",
      "MarkedByUserId": "sample string 13",
      "MarkedByUserName": "sample string 14",
      "WorkDuration": "sample string 15",
      "AfterFirstPunch": "sample string 16"
    },
    {
      "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",
      "MarkedByUserId": "sample string 13",
      "MarkedByUserName": "sample string 14",
      "WorkDuration": "sample string 15",
      "AfterFirstPunch": "sample string 16"
    }
  ]
}

application/xml, text/xml

Sample:
<EMPPunchTeamResponseEmployee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Railtech_HRMS.Model.EmployeeModal">
  <EPRE>
    <EMPPunchReportEmployeeWiseTeamView>
      <AfterFirstPunch>sample string 16</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>
      <MarkedByUserId>sample string 13</MarkedByUserId>
      <MarkedByUserName>sample string 14</MarkedByUserName>
      <PunchDate>sample string 5</PunchDate>
      <PunchId>sample string 1</PunchId>
      <WorkDuration>sample string 15</WorkDuration>
    </EMPPunchReportEmployeeWiseTeamView>
    <EMPPunchReportEmployeeWiseTeamView>
      <AfterFirstPunch>sample string 16</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>
      <MarkedByUserId>sample string 13</MarkedByUserId>
      <MarkedByUserName>sample string 14</MarkedByUserName>
      <PunchDate>sample string 5</PunchDate>
      <PunchId>sample string 1</PunchId>
      <WorkDuration>sample string 15</WorkDuration>
    </EMPPunchReportEmployeeWiseTeamView>
  </EPRE>
  <StatusCode>1</StatusCode>
  <status>sample string 2</status>
  <statusText>sample string 3</statusText>
</EMPPunchTeamResponseEmployee>