ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/operations/route
GET
Function GET
GET
(
request
:
NextRequest
,
)
:
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
success
:
boolean
;
data
:
{
operations
:
{
id
:
string
;
code
:
string
;
name
:
string
;
description
:
string
|
null
;
content
:
string
|
null
;
duration
:
number
|
null
;
setupTime
:
number
|
null
;
teardownTime
:
number
|
null
;
durationType
:
string
|
null
;
ratePerHour
:
number
|
null
;
hasQualityControl
:
boolean
;
controlType
:
string
|
null
;
controlCount
:
number
|
null
;
controlFrequency
:
string
|
null
;
requiredTools
:
string
|
null
;
isActive
:
boolean
;
createdAt
:
Date
;
updatedAt
:
Date
;
routing
:
{
id
:
string
;
name
:
string
}
|
null
;
equipment
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
workStation
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
timingABC
:
|
{
cadencePerHour
:
number
;
id
:
string
;
totalTimePerUnit
:
number
}
|
null
;
}
[]
;
pagination
:
{
page
:
number
;
limit
:
number
;
total
:
number
;
pages
:
number
;
}
;
}
;
}
,
>
,
>
Parameters
request
:
NextRequest
Returns
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
success
:
boolean
;
data
:
{
operations
:
{
id
:
string
;
code
:
string
;
name
:
string
;
description
:
string
|
null
;
content
:
string
|
null
;
duration
:
number
|
null
;
setupTime
:
number
|
null
;
teardownTime
:
number
|
null
;
durationType
:
string
|
null
;
ratePerHour
:
number
|
null
;
hasQualityControl
:
boolean
;
controlType
:
string
|
null
;
controlCount
:
number
|
null
;
controlFrequency
:
string
|
null
;
requiredTools
:
string
|
null
;
isActive
:
boolean
;
createdAt
:
Date
;
updatedAt
:
Date
;
routing
:
{
id
:
string
;
name
:
string
}
|
null
;
equipment
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
workStation
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
timingABC
:
|
{
cadencePerHour
:
number
;
id
:
string
;
totalTimePerUnit
:
number
}
|
null
;
}
[]
;
pagination
:
{
page
:
number
;
limit
:
number
;
total
:
number
;
pages
:
number
;
}
;
}
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...