ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/purchases/receptions/route
GET
Function GET
GET
(
request
:
NextRequest
,
)
:
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
receptions
:
(
{
lines
:
(
{
lineInspection
:
(...)
|
(...)
;
purchaseOrderLine
:
(...)
&
(...)
}
&
{}
)
[]
;
purchaseOrder
:
{
id
:
string
;
number
:
string
;
orderDate
:
Date
;
supplier
:
{
addresses
:
{
city
:
...
;
country
:
...
;
street
:
...
}
[]
;
code
:
string
;
email
:
string
|
null
;
id
:
string
;
name
:
string
;
phone
:
string
|
null
;
}
;
}
;
receiptInspection
:
{
createdAt
:
Date
;
id
:
string
}
|
null
;
}
&
{}
)
[]
;
total
:
number
;
page
:
number
;
limit
:
number
;
totalPages
:
number
;
}
,
>
,
>
Parameters
request
:
NextRequest
Returns
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
receptions
:
(
{
lines
:
(
{
lineInspection
:
(...)
|
(...)
;
purchaseOrderLine
:
(...)
&
(...)
}
&
{}
)
[]
;
purchaseOrder
:
{
id
:
string
;
number
:
string
;
orderDate
:
Date
;
supplier
:
{
addresses
:
{
city
:
...
;
country
:
...
;
street
:
...
}
[]
;
code
:
string
;
email
:
string
|
null
;
id
:
string
;
name
:
string
;
phone
:
string
|
null
;
}
;
}
;
receiptInspection
:
{
createdAt
:
Date
;
id
:
string
}
|
null
;
}
&
{}
)
[]
;
total
:
number
;
page
:
number
;
limit
:
number
;
totalPages
:
number
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...