GET api/clockinout/{companycode}/{deviceId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companycode

string

Required

deviceId

string

Required

Body Parameters

None.

Response Information

Resource Description

ClockInOut
NameDescriptionTypeAdditional information
ClockInTime

date

None.

ClockOutTime

date

None.

BranchId

integer

None.

DeviceId

string

None.

Status

string

None.

Branch

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ClockInTime": "2024-05-12T04:10:09.6374122+08:00",
  "ClockOutTime": "2024-05-12T04:10:09.6374122+08:00",
  "BranchId": 3,
  "DeviceId": "sample string 4",
  "Status": "sample string 5",
  "Branch": "sample string 6"
}

text/xml

Sample:
<ClockInOut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CloudSysPOSWeb.Models">
  <Branch>sample string 6</Branch>
  <BranchId>3</BranchId>
  <ClockInTime>2024-05-12T04:10:09.6374122+08:00</ClockInTime>
  <ClockOutTime>2024-05-12T04:10:09.6374122+08:00</ClockOutTime>
  <DeviceId>sample string 4</DeviceId>
  <Status>sample string 5</Status>
</ClockInOut>