GET api/Setting/GetEmployees?LastExecutedDate={LastExecutedDate}&CurrentDate={CurrentDate}&TerminalId={TerminalId}&SharedDB={SharedDB}

Get updated employees in a date range

Request Information

URI Parameters

NameDescriptionTypeAdditional information
LastExecutedDate

date

None.

CurrentDate

date

None.

TerminalId

globally unique identifier

None.

SharedDB

boolean

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Employee
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

FirstName

string

None.

LastName

string

None.

EmpNO

string

None.

SSNO

string

None.

Email

string

None.

Deleted

boolean

None.

Created

date

None.

Updated

date

None.

Logs

Collection of EmployeeLog

None.

Name

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Id": "48f7b2e6-ea60-4213-b1fe-f478b96a69d2",
    "FirstName": "sample string 2",
    "LastName": "sample string 3",
    "EmpNO": "sample string 4",
    "SSNO": "sample string 5",
    "Email": "sample string 6",
    "Deleted": true,
    "Created": "2024-05-17T00:36:14.9798034+02:00",
    "Updated": "2024-05-17T00:36:14.9798034+02:00",
    "Logs": [
      {
        "$id": "2",
        "LogId": "d993ccaf-d01e-4b9d-8db1-03388c8ec06c",
        "EmployeeId": "4fe3fd3e-63f8-462c-9f4d-7f6daca2e23c",
        "Employee": {
          "$ref": "1"
        },
        "OutletId": "ea3c6db9-532d-4ee4-a8f0-53aff7eda4d3",
        "CheckIn": "2024-05-17T00:36:14.9798034+02:00",
        "CheckOut": "2024-05-17T00:36:14.9798034+02:00",
        "Completed": true,
        "Synced": true,
        "EmployeeName": "sample string 6",
        "SSNo": "sample string 7",
        "EmpNO": "sample string 8",
        "AttendanceDate": "2024-05-17T00:36:14.9798034+02:00",
        "CheckinDateFormat": "2024-05-17 00:36",
        "CheckoutDateFormat": "2024-05-17 00:36"
      },
      {
        "$ref": "2"
      }
    ],
    "Name": "sample string 2 sample string 3"
  },
  {
    "$ref": "1"
  }
]