ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/edi/documents/purchase-orders/route
GET
Function GET
GET
(
request
:
NextRequest
,
)
:
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
documents
:
{
createdAt
:
Date
;
currency
:
{
code
:
string
;
id
:
string
;
symbol
:
string
}
|
null
;
expectedDate
:
Date
|
null
;
id
:
string
;
lines
:
{
id
:
string
;
quantity
:
number
;
rawMaterial
:
{
code
:
string
;
id
:
string
;
name
:
string
}
;
totalPrice
:
number
;
unitPrice
:
number
;
}
[]
;
number
:
string
;
orderDate
:
Date
;
status
:
string
;
supplier
:
{
code
:
string
;
id
:
string
;
name
:
string
}
;
supplierId
:
string
;
totalAmount
:
number
;
}
[]
;
count
:
number
;
}
,
>
,
>
GET /api/edi/documents/purchase-orders Récupère les Purchase Orders filtrés par fournisseur
Parameters
request
:
NextRequest
Returns
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
documents
:
{
createdAt
:
Date
;
currency
:
{
code
:
string
;
id
:
string
;
symbol
:
string
}
|
null
;
expectedDate
:
Date
|
null
;
id
:
string
;
lines
:
{
id
:
string
;
quantity
:
number
;
rawMaterial
:
{
code
:
string
;
id
:
string
;
name
:
string
}
;
totalPrice
:
number
;
unitPrice
:
number
;
}
[]
;
number
:
string
;
orderDate
:
Date
;
status
:
string
;
supplier
:
{
code
:
string
;
id
:
string
;
name
:
string
}
;
supplierId
:
string
;
totalAmount
:
number
;
}
[]
;
count
:
number
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...
GET /api/edi/documents/purchase-orders Récupère les Purchase Orders filtrés par fournisseur