POST api/DeviceCommunication/OnlinePunchValidation
Request Information
URI Parameters
None.
Body Parameters
DeviceOnlinePunchRequest| Name | Description | Type | Additional 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. |
Request Formats
application/json, text/json
Sample:
{
"deviceUniqueId": "sample string 1",
"employeeId": "sample string 2",
"employeeUniqueId": "sample string 3",
"inOutTime": "2025-12-06T21:07:16.5300783+05:30",
"mode": "sample string 5",
"cardType": 6,
"cardNumber": "sample string 7",
"punchMatchType": 8
}
application/xml, text/xml
Sample:
<DeviceOnlinePunchRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BalDal.Model"> <CardNumber>sample string 7</CardNumber> <CardType>6</CardType> <DeviceUniqueId>sample string 1</DeviceUniqueId> <EmployeeId>sample string 2</EmployeeId> <EmployeeUniqueId>sample string 3</EmployeeUniqueId> <InOutTime>2025-12-06T21:07:16.5300783+05:30</InOutTime> <Mode>sample string 5</Mode> <PunchMatchType>8</PunchMatchType> </DeviceOnlinePunchRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
DeviceOnlinePunchResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ErrorCode | string |
None. |
|
| ErrorDescription | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"errorCode": "sample string 1",
"errorDescription": "sample string 2"
}
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 1</ErrorCode> <ErrorDescription>sample string 2</ErrorDescription> </DeviceOnlinePunchResponse>