ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/edi/documents/work-orders/route
GET
Function GET
GET
(
request
:
NextRequest
,
)
:
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
documents
:
{
client
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
clientId
:
string
|
null
;
createdAt
:
Date
;
finishedProduct
:
{
code
:
string
;
id
:
string
;
name
:
string
}
;
id
:
string
;
notes
:
string
|
null
;
number
:
string
;
plannedEndDate
:
Date
|
null
;
plannedQuantity
:
number
;
plannedStartDate
:
Date
|
null
;
priority
:
ManufacturingOrderPriority
;
producedQuantity
:
number
;
status
:
ManufacturingOrderStatus
;
}
[]
;
count
:
number
;
}
,
>
,
>
GET /api/edi/documents/work-orders Récupère les ManufacturingOrders (OF) filtrés par client
Parameters
request
:
NextRequest
Returns
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
documents
:
{
client
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
clientId
:
string
|
null
;
createdAt
:
Date
;
finishedProduct
:
{
code
:
string
;
id
:
string
;
name
:
string
}
;
id
:
string
;
notes
:
string
|
null
;
number
:
string
;
plannedEndDate
:
Date
|
null
;
plannedQuantity
:
number
;
plannedStartDate
:
Date
|
null
;
priority
:
ManufacturingOrderPriority
;
producedQuantity
:
number
;
status
:
ManufacturingOrderStatus
;
}
[]
;
count
:
number
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...
GET /api/edi/documents/work-orders Récupère les ManufacturingOrders (OF) filtrés par client