ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/edi/messages/route
GET
Function GET
GET
(
request
:
NextRequest
,
)
:
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
messages
:
(
{
_count
:
{
acknowledgments
:
number
;
lines
:
number
;
logs
:
number
}
;
deliveryNote
:
{
id
:
string
;
number
:
string
;
status
:
string
}
|
null
;
interchange
:
|
{
direction
:
EdiDirection
;
id
:
string
;
interchangeRef
:
string
;
status
:
EdiMessageStatus
;
}
|
null
;
invoice
:
{
id
:
string
;
number
:
string
;
status
:
InvoiceStatus
}
|
null
;
manufacturingOrder
:
|
{
id
:
string
;
number
:
string
;
status
:
ManufacturingOrderStatus
}
|
null
;
partner
:
{
code
:
string
;
id
:
string
;
name
:
string
;
primaryFormat
:
EdiFormat
;
type
:
EdiPartnerType
;
}
;
purchaseOrder
:
{
id
:
string
;
number
:
string
;
status
:
string
}
|
null
;
receptionNote
:
{
id
:
string
;
number
:
string
;
status
:
string
}
|
null
;
salesOffer
:
|
{
id
:
string
;
number
:
string
;
status
:
SalesOfferStatus
}
|
null
;
salesOrder
:
|
{
id
:
string
;
number
:
string
;
status
:
SalesOrderStatus
}
|
null
;
}
&
{}
)
[]
;
pagination
:
{
page
:
number
;
limit
:
number
;
total
:
number
;
totalPages
:
number
;
}
;
quickStats
:
Record
<
string
,
number
>
;
}
,
>
,
>
GET /api/edi/messages - Liste des messages EDI avec filtres avancés
Parameters
request
:
NextRequest
Returns
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
messages
:
(
{
_count
:
{
acknowledgments
:
number
;
lines
:
number
;
logs
:
number
}
;
deliveryNote
:
{
id
:
string
;
number
:
string
;
status
:
string
}
|
null
;
interchange
:
|
{
direction
:
EdiDirection
;
id
:
string
;
interchangeRef
:
string
;
status
:
EdiMessageStatus
;
}
|
null
;
invoice
:
{
id
:
string
;
number
:
string
;
status
:
InvoiceStatus
}
|
null
;
manufacturingOrder
:
|
{
id
:
string
;
number
:
string
;
status
:
ManufacturingOrderStatus
}
|
null
;
partner
:
{
code
:
string
;
id
:
string
;
name
:
string
;
primaryFormat
:
EdiFormat
;
type
:
EdiPartnerType
;
}
;
purchaseOrder
:
{
id
:
string
;
number
:
string
;
status
:
string
}
|
null
;
receptionNote
:
{
id
:
string
;
number
:
string
;
status
:
string
}
|
null
;
salesOffer
:
|
{
id
:
string
;
number
:
string
;
status
:
SalesOfferStatus
}
|
null
;
salesOrder
:
|
{
id
:
string
;
number
:
string
;
status
:
SalesOrderStatus
}
|
null
;
}
&
{}
)
[]
;
pagination
:
{
page
:
number
;
limit
:
number
;
total
:
number
;
totalPages
:
number
;
}
;
quickStats
:
Record
<
string
,
number
>
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...
GET /api/edi/messages - Liste des messages EDI avec filtres avancés