ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/hr/time-tracking/route
GET
Function GET
GET
(
req
:
NextRequest
,
)
:
Promise
<
|
NextResponse
<
{
records
:
{
id
:
string
;
userId
:
string
;
userName
:
string
;
userEmail
:
string
;
employeeNumber
:
string
|
undefined
;
date
:
Date
;
clockIn
:
Date
;
clockOut
:
Date
|
null
;
breakStart
:
Date
|
null
;
breakEnd
:
Date
|
null
;
totalWorkTime
:
number
|
null
;
totalBreakTime
:
number
|
null
;
location
:
string
|
null
;
notes
:
string
|
null
;
status
:
string
;
correctedBy
:
string
|
null
|
undefined
;
correctedAt
:
Date
|
null
;
correctionReason
:
string
|
null
;
createdAt
:
Date
;
updatedAt
:
Date
;
}
[]
;
total
:
number
;
limit
:
number
;
offset
:
number
;
}
,
>
|
NextResponse
<
{
error
:
string
}
>
,
>
Parameters
req
:
NextRequest
Returns
Promise
<
|
NextResponse
<
{
records
:
{
id
:
string
;
userId
:
string
;
userName
:
string
;
userEmail
:
string
;
employeeNumber
:
string
|
undefined
;
date
:
Date
;
clockIn
:
Date
;
clockOut
:
Date
|
null
;
breakStart
:
Date
|
null
;
breakEnd
:
Date
|
null
;
totalWorkTime
:
number
|
null
;
totalBreakTime
:
number
|
null
;
location
:
string
|
null
;
notes
:
string
|
null
;
status
:
string
;
correctedBy
:
string
|
null
|
undefined
;
correctedAt
:
Date
|
null
;
correctionReason
:
string
|
null
;
createdAt
:
Date
;
updatedAt
:
Date
;
}
[]
;
total
:
number
;
limit
:
number
;
offset
:
number
;
}
,
>
|
NextResponse
<
{
error
:
string
}
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...