ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/tablet/work-stations/[id]/route
GET
Function GET
GET
(
_request
:
NextRequest
,
__namedParameters
:
{
params
:
Promise
<
{
id
:
string
}
>
}
,
)
:
Promise
<
|
NextResponse
<
{
success
:
boolean
;
error
:
string
;
message
:
string
}
>
|
NextResponse
<
{
success
:
boolean
;
workStation
:
{
id
:
any
;
code
:
any
;
name
:
any
;
description
:
any
;
location
:
any
;
capacity
:
any
;
costPerHour
:
any
;
status
:
any
;
isActive
:
any
;
operator
:
any
;
}
;
equipment
:
any
;
manufacturingOrders
:
{
id
:
any
;
number
:
any
;
name
:
any
;
status
:
any
;
priority
:
any
;
orderedQuantity
:
any
;
plannedQuantity
:
any
;
producedQuantity
:
any
;
progress
:
number
;
dueDate
:
any
;
finishedProduct
:
any
;
client
:
any
;
workOrdersCount
:
any
;
workOrders
:
any
;
}
[]
;
workOrders
:
any
;
operations
:
any
;
stats
:
{
equipment
:
{
total
:
any
;
active
:
any
;
inUse
:
any
;
maintenance
:
any
;
outOfOrder
:
any
;
}
;
workOrders
:
{
total
:
any
;
inProgress
:
any
;
pending
:
any
;
paused
:
any
}
;
manufacturingOrdersCount
:
number
;
globalStatus
:
string
;
}
;
}
,
>
,
>
GET /api/tablet/work-stations/[id]
Récupère les détails d'un poste de travail avec :
Équipements associés
OF (Manufacturing Orders) en cours sur ce poste
OT (Work Orders) en cours/planifiés sur ce poste
Opérateur actuel
Statistiques de production
Parameters
_request
:
NextRequest
__namedParameters
:
{
params
:
Promise
<
{
id
:
string
}
>
}
Returns
Promise
<
|
NextResponse
<
{
success
:
boolean
;
error
:
string
;
message
:
string
}
>
|
NextResponse
<
{
success
:
boolean
;
workStation
:
{
id
:
any
;
code
:
any
;
name
:
any
;
description
:
any
;
location
:
any
;
capacity
:
any
;
costPerHour
:
any
;
status
:
any
;
isActive
:
any
;
operator
:
any
;
}
;
equipment
:
any
;
manufacturingOrders
:
{
id
:
any
;
number
:
any
;
name
:
any
;
status
:
any
;
priority
:
any
;
orderedQuantity
:
any
;
plannedQuantity
:
any
;
producedQuantity
:
any
;
progress
:
number
;
dueDate
:
any
;
finishedProduct
:
any
;
client
:
any
;
workOrdersCount
:
any
;
workOrders
:
any
;
}
[]
;
workOrders
:
any
;
operations
:
any
;
stats
:
{
equipment
:
{
total
:
any
;
active
:
any
;
inUse
:
any
;
maintenance
:
any
;
outOfOrder
:
any
;
}
;
workOrders
:
{
total
:
any
;
inProgress
:
any
;
pending
:
any
;
paused
:
any
}
;
manufacturingOrdersCount
:
number
;
globalStatus
:
string
;
}
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...
GET /api/tablet/work-stations/[id]
Récupère les détails d'un poste de travail avec :