ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/production/ftpr/[id]/route
GET
Function GET
GET
(
request
:
Request
,
__namedParameters
:
{
params
:
Promise
<
{
id
:
string
}
>
}
,
)
:
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
finishedProduct
:
{
billOfMaterials
:
(
{
finishedProductComponent
:
|
{
client
:
...
;
code
:
...
;
cost
:
...
;
id
:
...
;
name
:
...
;
}
|
null
;
rawMaterial
:
|
{
code
:
...
;
cost
:
...
;
id
:
...
;
name
:
...
;
supplier
:
...
;
}
|
null
;
}
&
{}
)
[]
;
category
:
{
id
:
string
;
name
:
string
}
|
null
;
categoryId
:
string
|
null
;
client
:
|
{
code
:
string
;
currency
:
{
code
:
string
;
id
:
string
;
symbol
:
string
}
|
null
;
id
:
string
;
name
:
string
;
}
|
null
;
code
:
string
;
description
:
string
|
null
;
id
:
string
;
name
:
string
;
}
;
operations
:
(
{
consumedComponents
:
{
bomQuantity
:
number
;
calculatedQuantity
:
(...)
|
(...)
;
finishedProduct
:
(...)
|
(...)
;
id
:
string
;
rawMaterial
:
(...)
|
(...)
;
sequence
:
number
;
unitOfMeasure
:
(...)
|
(...)
;
}
[]
;
equipment
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
instructions
:
{
controlType
:
(...)
|
(...)
;
description
:
string
;
descriptionAr
:
(...)
|
(...)
;
frequency
:
(...)
|
(...)
;
id
:
string
;
maxValue
:
(...)
|
(...)
;
method
:
(...)
|
(...)
;
minValue
:
(...)
|
(...)
;
recording
:
(...)
|
(...)
;
sequence
:
number
;
targetValue
:
(...)
|
(...)
;
type
:
InstructionType
;
unit
:
(...)
|
(...)
;
}
[]
;
timingABC
:
|
{
cadencePerHour
:
number
;
calculatedA
:
number
;
calculatedB
:
number
;
calculatedC
:
number
;
coefD
:
number
;
coefE
:
number
;
coefF
:
number
;
id
:
string
;
isActive
:
boolean
;
notes
:
(...)
|
(...)
;
timeA
:
number
;
timeB
:
number
;
timeC
:
number
;
totalTime
:
number
;
totalTimePerUnit
:
number
;
}
|
null
;
tools
:
{
finishedProduct
:
(...)
|
(...)
;
id
:
string
;
quantity
:
number
;
rawMaterial
:
(...)
|
(...)
;
unitOfMeasure
:
(...)
|
(...)
;
}
[]
;
workStation
:
|
{
code
:
string
;
costPerHour
:
(...)
|
(...)
;
id
:
string
;
name
:
string
;
}
|
null
;
}
&
{}
)
[]
;
unitOfMeasure
:
|
{
code
:
string
;
id
:
string
;
name
:
string
;
symbol
:
string
|
null
;
}
|
null
;
}
&
{}
,
>
,
>
Parameters
request
:
Request
__namedParameters
:
{
params
:
Promise
<
{
id
:
string
}
>
}
Returns
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
finishedProduct
:
{
billOfMaterials
:
(
{
finishedProductComponent
:
|
{
client
:
...
;
code
:
...
;
cost
:
...
;
id
:
...
;
name
:
...
;
}
|
null
;
rawMaterial
:
|
{
code
:
...
;
cost
:
...
;
id
:
...
;
name
:
...
;
supplier
:
...
;
}
|
null
;
}
&
{}
)
[]
;
category
:
{
id
:
string
;
name
:
string
}
|
null
;
categoryId
:
string
|
null
;
client
:
|
{
code
:
string
;
currency
:
{
code
:
string
;
id
:
string
;
symbol
:
string
}
|
null
;
id
:
string
;
name
:
string
;
}
|
null
;
code
:
string
;
description
:
string
|
null
;
id
:
string
;
name
:
string
;
}
;
operations
:
(
{
consumedComponents
:
{
bomQuantity
:
number
;
calculatedQuantity
:
(...)
|
(...)
;
finishedProduct
:
(...)
|
(...)
;
id
:
string
;
rawMaterial
:
(...)
|
(...)
;
sequence
:
number
;
unitOfMeasure
:
(...)
|
(...)
;
}
[]
;
equipment
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
instructions
:
{
controlType
:
(...)
|
(...)
;
description
:
string
;
descriptionAr
:
(...)
|
(...)
;
frequency
:
(...)
|
(...)
;
id
:
string
;
maxValue
:
(...)
|
(...)
;
method
:
(...)
|
(...)
;
minValue
:
(...)
|
(...)
;
recording
:
(...)
|
(...)
;
sequence
:
number
;
targetValue
:
(...)
|
(...)
;
type
:
InstructionType
;
unit
:
(...)
|
(...)
;
}
[]
;
timingABC
:
|
{
cadencePerHour
:
number
;
calculatedA
:
number
;
calculatedB
:
number
;
calculatedC
:
number
;
coefD
:
number
;
coefE
:
number
;
coefF
:
number
;
id
:
string
;
isActive
:
boolean
;
notes
:
(...)
|
(...)
;
timeA
:
number
;
timeB
:
number
;
timeC
:
number
;
totalTime
:
number
;
totalTimePerUnit
:
number
;
}
|
null
;
tools
:
{
finishedProduct
:
(...)
|
(...)
;
id
:
string
;
quantity
:
number
;
rawMaterial
:
(...)
|
(...)
;
unitOfMeasure
:
(...)
|
(...)
;
}
[]
;
workStation
:
|
{
code
:
string
;
costPerHour
:
(...)
|
(...)
;
id
:
string
;
name
:
string
;
}
|
null
;
}
&
{}
)
[]
;
unitOfMeasure
:
|
{
code
:
string
;
id
:
string
;
name
:
string
;
symbol
:
string
|
null
;
}
|
null
;
}
&
{}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...