POST api/Attendance/AutoPunch

Documentation for 'AutoPunch'.

Request Information

Parameters

NameDescriptionAdditional information
objPunch
Documentation for 'objPunch'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "EmployeeCode": "sample string 1",
  "GeofenceCode": "sample string 2",
  "Latitude": "sample string 3",
  "Longitude": "sample string 4",
  "PunchDate": "sample string 5",
  "PunchMode": "sample string 6",
  "PunchTime": "sample string 7",
  "SelfiImage": "sample string 8",
  "FingerData": "sample string 9",
  "PinData": "sample string 10",
  "AccesMode": "sample string 11",
  "Inout": "sample string 12",
  "IMEI": "sample string 13",
  "Address": "sample string 14"
}

application/xml, text/xml

Sample:
<EmployeePunchDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <AccesMode>sample string 11</AccesMode>
  <Address>sample string 14</Address>
  <EmployeeCode>sample string 1</EmployeeCode>
  <FingerData>sample string 9</FingerData>
  <GeofenceCode>sample string 2</GeofenceCode>
  <IMEI>sample string 13</IMEI>
  <Inout>sample string 12</Inout>
  <Latitude>sample string 3</Latitude>
  <Longitude>sample string 4</Longitude>
  <PinData>sample string 10</PinData>
  <PunchDate>sample string 5</PunchDate>
  <PunchMode>sample string 6</PunchMode>
  <PunchTime>sample string 7</PunchTime>
  <SelfiImage>sample string 8</SelfiImage>
</EmployeePunchDTO>

application/x-www-form-urlencoded

Sample:

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