GET api/ClockInOut?companycode={companycode}&staff={staff}&from={from}&to={to}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companycode

string

Required

staff

string

Required

from

date

Required

to

date

Required

Body Parameters

None.

Response Information

Resource Description

Collection of 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-12T15:12:35.6567822+08:00",
    "ClockOutTime": "2024-05-12T15:12:35.6567822+08:00",
    "BranchId": 3,
    "DeviceId": "sample string 4",
    "Status": "sample string 5",
    "Branch": "sample string 6"
  },
  {
    "ClockInTime": "2024-05-12T15:12:35.6567822+08:00",
    "ClockOutTime": "2024-05-12T15:12:35.6567822+08:00",
    "BranchId": 3,
    "DeviceId": "sample string 4",
    "Status": "sample string 5",
    "Branch": "sample string 6"
  }
]

text/xml

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