ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/work-orders/steps/route
GET
Function GET
GET
(
request
:
NextRequest
,
)
:
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
success
:
boolean
;
data
:
{
workOrderSteps
:
{
id
:
string
;
workOrderId
:
string
;
operationId
:
string
;
workStationId
:
string
|
null
;
sequence
:
number
;
status
:
string
;
plannedStart
:
Date
|
null
;
plannedEnd
:
Date
|
null
;
actualStart
:
Date
|
null
;
actualEnd
:
Date
|
null
;
operator
:
string
|
null
;
operatorId
:
string
|
null
;
workCenter
:
string
|
null
;
plannedDuration
:
number
|
null
;
actualDuration
:
number
|
null
;
efficiency
:
number
|
null
;
qualityStatus
:
string
|
null
;
scrapQuantity
:
number
|
null
;
producedQuantity
:
number
|
null
;
notes
:
string
|
null
;
createdAt
:
Date
;
updatedAt
:
Date
;
workOrder
:
{
id
:
string
;
number
:
string
;
finishedProduct
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
client
:
{
id
:
string
;
name
:
string
}
|
null
;
}
;
operation
:
{
code
:
string
;
description
:
string
|
null
;
hasQualityControl
:
boolean
;
id
:
string
;
name
:
string
;
}
;
workStation
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
operatorUser
:
{
email
:
string
;
id
:
string
;
name
:
string
|
null
}
|
null
;
qualityControls
:
{
controlType
:
string
;
id
:
string
;
passed
:
boolean
;
performedAt
:
Date
;
}
[]
;
hasQualityControl
:
boolean
;
qualityControlCount
:
number
;
lastQualityControl
:
{
controlType
:
string
;
id
:
string
;
passed
:
boolean
;
performedAt
:
Date
;
}
;
}
[]
;
}
;
}
,
>
,
>
Parameters
request
:
NextRequest
Returns
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
success
:
boolean
;
data
:
{
workOrderSteps
:
{
id
:
string
;
workOrderId
:
string
;
operationId
:
string
;
workStationId
:
string
|
null
;
sequence
:
number
;
status
:
string
;
plannedStart
:
Date
|
null
;
plannedEnd
:
Date
|
null
;
actualStart
:
Date
|
null
;
actualEnd
:
Date
|
null
;
operator
:
string
|
null
;
operatorId
:
string
|
null
;
workCenter
:
string
|
null
;
plannedDuration
:
number
|
null
;
actualDuration
:
number
|
null
;
efficiency
:
number
|
null
;
qualityStatus
:
string
|
null
;
scrapQuantity
:
number
|
null
;
producedQuantity
:
number
|
null
;
notes
:
string
|
null
;
createdAt
:
Date
;
updatedAt
:
Date
;
workOrder
:
{
id
:
string
;
number
:
string
;
finishedProduct
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
client
:
{
id
:
string
;
name
:
string
}
|
null
;
}
;
operation
:
{
code
:
string
;
description
:
string
|
null
;
hasQualityControl
:
boolean
;
id
:
string
;
name
:
string
;
}
;
workStation
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
operatorUser
:
{
email
:
string
;
id
:
string
;
name
:
string
|
null
}
|
null
;
qualityControls
:
{
controlType
:
string
;
id
:
string
;
passed
:
boolean
;
performedAt
:
Date
;
}
[]
;
hasQualityControl
:
boolean
;
qualityControlCount
:
number
;
lastQualityControl
:
{
controlType
:
string
;
id
:
string
;
passed
:
boolean
;
performedAt
:
Date
;
}
;
}
[]
;
}
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...