ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/quality-control/route
POST
Function POST
POST
(
request
:
NextRequest
,
)
:
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
success
:
boolean
;
message
:
string
;
data
:
{
id
:
string
;
workOrderId
:
string
|
null
;
workOrderNumber
:
string
;
workOrder
:
|
{
id
:
string
;
number
:
string
;
product
:
string
;
client
:
string
}
|
null
;
operationId
:
string
;
operation
:
{
id
:
string
;
name
:
string
;
code
:
string
;
description
:
string
|
null
;
}
;
controlType
:
string
;
result
:
string
|
null
;
passed
:
boolean
;
performedBy
:
string
|
null
;
performedAt
:
Date
;
notes
:
string
|
null
;
photos
:
string
[]
;
attachments
:
string
[]
;
status
:
string
;
}
;
}
,
>
,
>
Parameters
request
:
NextRequest
Returns
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
success
:
boolean
;
message
:
string
;
data
:
{
id
:
string
;
workOrderId
:
string
|
null
;
workOrderNumber
:
string
;
workOrder
:
|
{
id
:
string
;
number
:
string
;
product
:
string
;
client
:
string
}
|
null
;
operationId
:
string
;
operation
:
{
id
:
string
;
name
:
string
;
code
:
string
;
description
:
string
|
null
;
}
;
controlType
:
string
;
result
:
string
|
null
;
passed
:
boolean
;
performedBy
:
string
|
null
;
performedAt
:
Date
;
notes
:
string
|
null
;
photos
:
string
[]
;
attachments
:
string
[]
;
status
:
string
;
}
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...