ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/production/simulations/route
GET
Function GET
GET
(
request
:
NextRequest
,
)
:
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
simulations
:
(
{
client
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
datesValidatedByUser
:
|
{
email
:
string
;
id
:
string
;
name
:
string
|
null
}
|
null
;
finishedProduct
:
{
client
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
code
:
string
;
id
:
string
;
name
:
string
;
}
;
lines
:
(
{
finishedProduct
:
(...)
|
(...)
;
rawMaterial
:
(...)
|
(...)
;
supplier
:
(...)
|
(...)
;
unitOfMeasure
:
(...)
|
(...)
;
}
&
{}
)
[]
;
responsibleUser
:
|
{
email
:
string
;
id
:
string
;
name
:
string
|
null
}
|
null
;
routing
:
|
{
finishedProduct
:
{
code
:
string
;
name
:
string
}
;
id
:
string
;
name
:
string
;
}
|
null
;
salesOrderLine
:
|
{
id
:
string
;
quantity
:
number
;
salesOrder
:
{
id
:
string
;
number
:
string
}
;
}
|
null
;
}
&
{}
)
[]
;
pagination
:
{
total
:
number
;
limit
:
number
;
offset
:
number
}
;
}
,
>
,
>
Parameters
request
:
NextRequest
Returns
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
simulations
:
(
{
client
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
datesValidatedByUser
:
|
{
email
:
string
;
id
:
string
;
name
:
string
|
null
}
|
null
;
finishedProduct
:
{
client
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
code
:
string
;
id
:
string
;
name
:
string
;
}
;
lines
:
(
{
finishedProduct
:
(...)
|
(...)
;
rawMaterial
:
(...)
|
(...)
;
supplier
:
(...)
|
(...)
;
unitOfMeasure
:
(...)
|
(...)
;
}
&
{}
)
[]
;
responsibleUser
:
|
{
email
:
string
;
id
:
string
;
name
:
string
|
null
}
|
null
;
routing
:
|
{
finishedProduct
:
{
code
:
string
;
name
:
string
}
;
id
:
string
;
name
:
string
;
}
|
null
;
salesOrderLine
:
|
{
id
:
string
;
quantity
:
number
;
salesOrder
:
{
id
:
string
;
number
:
string
}
;
}
|
null
;
}
&
{}
)
[]
;
pagination
:
{
total
:
number
;
limit
:
number
;
offset
:
number
}
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...