POST api/SWPON_Employee/UpdatePunchIn_WithSelfie

Request Information

URI Parameters

None.

Body Parameters

EmployeePunch_Selfie
NameDescriptionTypeAdditional information
AttendanceId

integer

None.

EmployeeId

integer

None.

CompanyId

integer

None.

EmployeeCode

string

None.

Status

string

None.

GeoLat

string

None.

GeoLong

string

None.

Inenclosure

string

None.

Outenclosure

string

None.

TimeIn

string

None.

TimeOut

string

None.

Source

string

None.

Date

date

None.

Activity

string

None.

Mode

string

None.

Emp_Name

string

None.

OverrideBy

string

None.

ReportingTo

string

None.

Remark

string

None.

Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AttendanceId": 1,
  "EmployeeId": 2,
  "CompanyId": 3,
  "EmployeeCode": "sample string 4",
  "Status": "sample string 5",
  "GeoLat": "sample string 6",
  "GeoLong": "sample string 7",
  "Inenclosure": "sample string 8",
  "Outenclosure": "sample string 9",
  "TimeIn": "sample string 10",
  "TimeOut": "sample string 11",
  "Source": "sample string 12",
  "Date": "2025-12-24T18:26:54.6435102+05:30",
  "Activity": "sample string 14",
  "Mode": "sample string 15",
  "Emp_Name": "sample string 16",
  "OverrideBy": "sample string 17",
  "ReportingTo": "sample string 18",
  "Remark": "sample string 19",
  "Id": 20
}

application/xml, text/xml

Sample:
<EmployeePunch_Selfie xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CoreLibrary.Domain">
  <Id xmlns="http://schemas.datacontract.org/2004/07/CoreLibrary">20</Id>
  <Activity>sample string 14</Activity>
  <AttendanceId>1</AttendanceId>
  <CompanyId>3</CompanyId>
  <Date>2025-12-24T18:26:54.6435102+05:30</Date>
  <Emp_Name>sample string 16</Emp_Name>
  <EmployeeCode>sample string 4</EmployeeCode>
  <EmployeeId>2</EmployeeId>
  <GeoLat>sample string 6</GeoLat>
  <GeoLong>sample string 7</GeoLong>
  <Inenclosure>sample string 8</Inenclosure>
  <Mode>sample string 15</Mode>
  <Outenclosure>sample string 9</Outenclosure>
  <OverrideBy>sample string 17</OverrideBy>
  <Remark>sample string 19</Remark>
  <ReportingTo>sample string 18</ReportingTo>
  <Source>sample string 12</Source>
  <Status>sample string 5</Status>
  <TimeIn>sample string 10</TimeIn>
  <TimeOut>sample string 11</TimeOut>
</EmployeePunch_Selfie>

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

Response Information

Resource Description

PunchResult
NameDescriptionTypeAdditional information
ServerDate

string

None.

Flag

boolean

None.

data

string

None.

status_cd

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ServerDate": "sample string 1",
  "Flag": true,
  "data": "sample string 3",
  "status_cd": "sample string 4"
}

application/xml, text/xml

Sample:
<PunchResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI">
  <Flag>true</Flag>
  <ServerDate>sample string 1</ServerDate>
  <data>sample string 3</data>
  <status_cd>sample string 4</status_cd>
</PunchResult>