ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/production/quality-control/route
GET
Function GET
GET
(
request
:
NextRequest
,
)
:
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
qualityControls
:
{
id
:
string
;
workOrderStepId
:
string
|
null
;
operationId
:
string
;
controlType
:
string
;
result
:
string
|
null
;
passed
:
boolean
;
performedBy
:
string
|
null
;
performedAt
:
Date
;
notes
:
string
|
null
;
photos
:
string
[]
;
attachments
:
string
[]
;
workOrder
:
|
{
id
:
string
;
number
:
string
;
status
:
string
;
product
:
string
|
undefined
;
productCode
:
string
|
undefined
;
}
|
null
;
operation
:
{
id
:
string
;
name
:
string
;
code
:
string
}
;
createdAt
:
Date
;
updatedAt
:
Date
;
}
[]
;
pagination
:
{
page
:
number
;
limit
:
number
;
total
:
number
;
pages
:
number
}
;
}
,
>
,
>
Parameters
request
:
NextRequest
Returns
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
qualityControls
:
{
id
:
string
;
workOrderStepId
:
string
|
null
;
operationId
:
string
;
controlType
:
string
;
result
:
string
|
null
;
passed
:
boolean
;
performedBy
:
string
|
null
;
performedAt
:
Date
;
notes
:
string
|
null
;
photos
:
string
[]
;
attachments
:
string
[]
;
workOrder
:
|
{
id
:
string
;
number
:
string
;
status
:
string
;
product
:
string
|
undefined
;
productCode
:
string
|
undefined
;
}
|
null
;
operation
:
{
id
:
string
;
name
:
string
;
code
:
string
}
;
createdAt
:
Date
;
updatedAt
:
Date
;
}
[]
;
pagination
:
{
page
:
number
;
limit
:
number
;
total
:
number
;
pages
:
number
}
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...