GET api/ClockInOut?companycode={companycode}&staff={staff}&from={from}&to={to}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
companycode | string |
Required |
|
staff | string |
Required |
|
from | date |
Required |
|
to | date |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ClockInOutName | Description | Type | Additional 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": "2025-03-31T23:16:16.0703453+08:00", "ClockOutTime": "2025-03-31T23:16:16.0703453+08:00", "BranchId": 3, "DeviceId": "sample string 4", "Status": "sample string 5", "Branch": "sample string 6" }, { "ClockInTime": "2025-03-31T23:16:16.0703453+08:00", "ClockOutTime": "2025-03-31T23:16:16.0703453+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>2025-03-31T23:16:16.0703453+08:00</ClockInTime> <ClockOutTime>2025-03-31T23:16:16.0703453+08:00</ClockOutTime> <DeviceId>sample string 4</DeviceId> <Status>sample string 5</Status> </ClockInOut> <ClockInOut> <Branch>sample string 6</Branch> <BranchId>3</BranchId> <ClockInTime>2025-03-31T23:16:16.0703453+08:00</ClockInTime> <ClockOutTime>2025-03-31T23:16:16.0703453+08:00</ClockOutTime> <DeviceId>sample string 4</DeviceId> <Status>sample string 5</Status> </ClockInOut> </ArrayOfClockInOut>