ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/production/routings/route
POST
Function POST
POST
(
request
:
NextRequest
,
)
:
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
finishedProduct
:
{
code
:
string
;
id
:
string
;
name
:
string
}
;
operations
:
(
{
equipment
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
instructions
:
{
controlType
:
ControlType
|
null
;
description
:
string
;
descriptionAr
:
string
|
null
;
frequency
:
string
|
null
;
id
:
string
;
isActive
:
boolean
;
maxValue
:
number
|
null
;
method
:
string
|
null
;
minValue
:
number
|
null
;
sequence
:
number
;
targetValue
:
number
|
null
;
type
:
InstructionType
;
unit
:
string
|
null
;
}
[]
;
workCenter
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
workStation
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
}
&
{}
)
[]
;
summary
:
{
operationsCount
:
number
;
totalDuration
:
number
;
hasWorkStations
:
boolean
;
hasEquipment
:
boolean
;
}
;
}
,
>
,
>
Parameters
request
:
NextRequest
Returns
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
finishedProduct
:
{
code
:
string
;
id
:
string
;
name
:
string
}
;
operations
:
(
{
equipment
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
instructions
:
{
controlType
:
ControlType
|
null
;
description
:
string
;
descriptionAr
:
string
|
null
;
frequency
:
string
|
null
;
id
:
string
;
isActive
:
boolean
;
maxValue
:
number
|
null
;
method
:
string
|
null
;
minValue
:
number
|
null
;
sequence
:
number
;
targetValue
:
number
|
null
;
type
:
InstructionType
;
unit
:
string
|
null
;
}
[]
;
workCenter
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
workStation
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
}
&
{}
)
[]
;
summary
:
{
operationsCount
:
number
;
totalDuration
:
number
;
hasWorkStations
:
boolean
;
hasEquipment
:
boolean
;
}
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...