ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/production/cutting-calculations/route
POST
Function POST
POST
(
request
:
NextRequest
,
)
:
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
message
:
string
;
materialType
:
any
;
cuttingCalculation
:
null
}
,
>
|
NextResponse
<
{
rawMaterial
:
{
id
:
any
;
name
:
any
;
materialType
:
any
;
width
:
any
;
height
:
any
;
length
:
any
;
}
;
finishedProduct
:
{
id
:
any
;
name
:
any
;
width
:
any
;
height
:
any
;
length
:
any
;
}
;
quantityNeeded
:
any
;
cuttingCalculation
:
CuttingCalculation
;
efficiency
:
{
materialUtilization
:
number
;
wastePercentage
:
number
}
;
}
,
>
,
>
Parameters
request
:
NextRequest
Returns
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
message
:
string
;
materialType
:
any
;
cuttingCalculation
:
null
}
,
>
|
NextResponse
<
{
rawMaterial
:
{
id
:
any
;
name
:
any
;
materialType
:
any
;
width
:
any
;
height
:
any
;
length
:
any
;
}
;
finishedProduct
:
{
id
:
any
;
name
:
any
;
width
:
any
;
height
:
any
;
length
:
any
;
}
;
quantityNeeded
:
any
;
cuttingCalculation
:
CuttingCalculation
;
efficiency
:
{
materialUtilization
:
number
;
wastePercentage
:
number
}
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...