GET api/Employees/GetEmployeeLaborHours?employeeID={employeeID}&startDate={startDate}&endDate={endDate}&recordID={recordID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
employeeID

integer

Required

startDate

date

Default value is 01/01/0001 00:00:00

endDate

date

Default value is 01/01/0001 00:00:00

recordID

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Collection of LaborHoursData
NameDescriptionTypeAdditional information
ID

integer

None.

EmployeeID

integer

None.

ClockIn

date

None.

ClockOut

date

None.

RegularTime

decimal number

None.

OverTime

decimal number

None.

GPS_In

string

None.

GPS_Out

string

None.

DeviceID_In

string

None.

DeviceID_Out

string

None.

TaskID

integer

None.

TaskDesc

string

None.

ProjectID

integer

None.

ProjectDesc

string

None.

DepartmentID

integer

None.

DepartmentDesc

string

None.

OperationID

integer

None.

OperationDesc

string

None.

PhaseID

integer

None.

PhaseDesc

string

None.

EmployeeNote

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "EmployeeID": 1,
    "ClockIn": "2025-07-16T23:15:53.5410988-06:00",
    "ClockOut": "2025-07-16T23:15:53.5410988-06:00",
    "RegularTime": 1.0,
    "OverTime": 1.0,
    "GPS_In": "sample string 1",
    "GPS_Out": "sample string 2",
    "DeviceID_In": "sample string 3",
    "DeviceID_Out": "sample string 4",
    "TaskID": 1,
    "TaskDesc": "sample string 5",
    "ProjectID": 1,
    "ProjectDesc": "sample string 6",
    "DepartmentID": 1,
    "DepartmentDesc": "sample string 7",
    "OperationID": 1,
    "OperationDesc": "sample string 8",
    "PhaseID": 1,
    "PhaseDesc": "sample string 9",
    "EmployeeNote": "sample string 10"
  },
  {
    "ID": 1,
    "EmployeeID": 1,
    "ClockIn": "2025-07-16T23:15:53.5410988-06:00",
    "ClockOut": "2025-07-16T23:15:53.5410988-06:00",
    "RegularTime": 1.0,
    "OverTime": 1.0,
    "GPS_In": "sample string 1",
    "GPS_Out": "sample string 2",
    "DeviceID_In": "sample string 3",
    "DeviceID_Out": "sample string 4",
    "TaskID": 1,
    "TaskDesc": "sample string 5",
    "ProjectID": 1,
    "ProjectDesc": "sample string 6",
    "DepartmentID": 1,
    "DepartmentDesc": "sample string 7",
    "OperationID": 1,
    "OperationDesc": "sample string 8",
    "PhaseID": 1,
    "PhaseDesc": "sample string 9",
    "EmployeeNote": "sample string 10"
  }
]

application/xml, text/xml

Sample:
<ArrayOfLaborHoursData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrowsNest.Api">
  <LaborHoursData>
    <ClockIn>2025-07-16T23:15:53.5410988-06:00</ClockIn>
    <ClockOut>2025-07-16T23:15:53.5410988-06:00</ClockOut>
    <DepartmentDesc>sample string 7</DepartmentDesc>
    <DepartmentID>1</DepartmentID>
    <DeviceID_In>sample string 3</DeviceID_In>
    <DeviceID_Out>sample string 4</DeviceID_Out>
    <EmployeeID>1</EmployeeID>
    <EmployeeNote>sample string 10</EmployeeNote>
    <GPS_In>sample string 1</GPS_In>
    <GPS_Out>sample string 2</GPS_Out>
    <ID>1</ID>
    <OperationDesc>sample string 8</OperationDesc>
    <OperationID>1</OperationID>
    <OverTime>1</OverTime>
    <PhaseDesc>sample string 9</PhaseDesc>
    <PhaseID>1</PhaseID>
    <ProjectDesc>sample string 6</ProjectDesc>
    <ProjectID>1</ProjectID>
    <RegularTime>1</RegularTime>
    <TaskDesc>sample string 5</TaskDesc>
    <TaskID>1</TaskID>
  </LaborHoursData>
  <LaborHoursData>
    <ClockIn>2025-07-16T23:15:53.5410988-06:00</ClockIn>
    <ClockOut>2025-07-16T23:15:53.5410988-06:00</ClockOut>
    <DepartmentDesc>sample string 7</DepartmentDesc>
    <DepartmentID>1</DepartmentID>
    <DeviceID_In>sample string 3</DeviceID_In>
    <DeviceID_Out>sample string 4</DeviceID_Out>
    <EmployeeID>1</EmployeeID>
    <EmployeeNote>sample string 10</EmployeeNote>
    <GPS_In>sample string 1</GPS_In>
    <GPS_Out>sample string 2</GPS_Out>
    <ID>1</ID>
    <OperationDesc>sample string 8</OperationDesc>
    <OperationID>1</OperationID>
    <OverTime>1</OverTime>
    <PhaseDesc>sample string 9</PhaseDesc>
    <PhaseID>1</PhaseID>
    <ProjectDesc>sample string 6</ProjectDesc>
    <ProjectID>1</ProjectID>
    <RegularTime>1</RegularTime>
    <TaskDesc>sample string 5</TaskDesc>
    <TaskID>1</TaskID>
  </LaborHoursData>
</ArrayOfLaborHoursData>