POST api/DeviceCommunication/OnlinePunchValidation

Request Information

URI Parameters

None.

Body Parameters

DeviceOnlinePunchRequest
NameDescriptionTypeAdditional information
DeviceUniqueId

string

None.

EmployeeId

string

None.

EmployeeUniqueId

string

None.

InOutTime

date

None.

Mode

string

None.

CardType

integer

None.

CardNumber

string

None.

PunchMatchType

integer

None.

MealTypeCode

integer

None.

ItemCode

integer

None.

CanteenCode

integer

None.

isVendimen

string

None.

Request Formats

application/json, text/json

Sample:
{
  "deviceUniqueId": "sample string 1",
  "employeeId": "sample string 2",
  "employeeUniqueId": "sample string 3",
  "inOutTime": "2026-06-17T08:27:22.3002488+05:30",
  "mode": "sample string 5",
  "cardType": 6,
  "cardNumber": "sample string 7",
  "punchMatchType": 8,
  "mealTypeCode": 9,
  "itemCode": 10,
  "canteenCode": 11,
  "isVendimen": "sample string 12"
}

application/xml, text/xml

Sample:
<DeviceOnlinePunchRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BalDal.Model">
  <CanteenCode>11</CanteenCode>
  <CardNumber>sample string 7</CardNumber>
  <CardType>6</CardType>
  <DeviceUniqueId>sample string 1</DeviceUniqueId>
  <EmployeeId>sample string 2</EmployeeId>
  <EmployeeUniqueId>sample string 3</EmployeeUniqueId>
  <InOutTime>2026-06-17T08:27:22.3002488+05:30</InOutTime>
  <ItemCode>10</ItemCode>
  <MealTypeCode>9</MealTypeCode>
  <Mode>sample string 5</Mode>
  <PunchMatchType>8</PunchMatchType>
  <isVendimen>sample string 12</isVendimen>
</DeviceOnlinePunchRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DeviceOnlinePunchResponse
NameDescriptionTypeAdditional information
SaveTransaction

string

None.

ErrorCode

string

None.

ErrorDescription

string

None.

Response Formats

application/json, text/json

Sample:
{
  "saveTransaction": "sample string 1",
  "errorCode": "sample string 2",
  "errorDescription": "sample string 3"
}

application/xml, text/xml

Sample:
<DeviceOnlinePunchResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BalDal.Model">
  <ErrorCode>sample string 2</ErrorCode>
  <ErrorDescription>sample string 3</ErrorDescription>
  <SaveTransaction>sample string 1</SaveTransaction>
</DeviceOnlinePunchResponse>