ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/production/operations/stats/route
GET
Function GET
GET
(
request
:
NextRequest
,
)
:
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
overview
:
{
totalOperations
:
number
;
activeOperations
:
number
;
inactiveOperations
:
number
;
}
;
byRouting
:
{
routingId
:
string
|
null
;
routingName
:
string
;
productName
:
string
;
count
:
number
;
}
[]
;
mostUsed
:
{
id
:
string
;
name
:
string
;
routingName
:
string
;
productName
:
string
;
usageCount
:
number
;
}
[]
;
byWorkCenter
:
{
workCenterId
:
string
|
null
;
workCenterName
:
string
;
count
:
number
;
}
[]
;
byEquipment
:
{
equipmentId
:
string
|
null
;
equipmentName
:
string
;
count
:
number
;
}
[]
;
}
,
>
,
>
Parameters
request
:
NextRequest
Returns
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
overview
:
{
totalOperations
:
number
;
activeOperations
:
number
;
inactiveOperations
:
number
;
}
;
byRouting
:
{
routingId
:
string
|
null
;
routingName
:
string
;
productName
:
string
;
count
:
number
;
}
[]
;
mostUsed
:
{
id
:
string
;
name
:
string
;
routingName
:
string
;
productName
:
string
;
usageCount
:
number
;
}
[]
;
byWorkCenter
:
{
workCenterId
:
string
|
null
;
workCenterName
:
string
;
count
:
number
;
}
[]
;
byEquipment
:
{
equipmentId
:
string
|
null
;
equipmentName
:
string
;
count
:
number
;
}
[]
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...