POST api/employee/PunchHOTime

Request Information

URI Parameters

None.

Body Parameters

HOPunchTimeRequest
NameDescriptionTypeAdditional information
PunchType

integer

None.

PunchDateTime

date

None.

EmployeeId

integer

None.

SessionID

string

None.

DeviceID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PunchType": 1,
  "PunchDateTime": "2025-12-21T15:06:09.2414373+05:30",
  "EmployeeId": 3,
  "SessionID": "sample string 4",
  "DeviceID": "sample string 5"
}

application/xml, text/xml

Sample:
<HOPunchTimeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/application.knh.webapi.Models">
  <DeviceID xmlns="http://schemas.datacontract.org/2004/07/application.knh.webapi.BE">sample string 5</DeviceID>
  <EmployeeId xmlns="http://schemas.datacontract.org/2004/07/application.knh.webapi.BE">3</EmployeeId>
  <SessionID xmlns="http://schemas.datacontract.org/2004/07/application.knh.webapi.BE">sample string 4</SessionID>
  <PunchDateTime>2025-12-21T15:06:09.2414373+05:30</PunchDateTime>
  <PunchType>1</PunchType>
</HOPunchTimeRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.