ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/tablet/equipment/[id]/route
POST
Function POST
POST
(
request
:
NextRequest
,
__namedParameters
:
{
params
:
Promise
<
{
id
:
string
}
>
}
,
)
:
Promise
<
|
NextResponse
<
{
success
:
boolean
;
error
:
string
;
message
:
string
}
>
|
NextResponse
<
{
success
:
boolean
;
message
:
string
;
data
:
{
maintenance
:
{
id
:
string
;
type
:
string
;
status
:
string
;
performedAt
:
Date
;
performer
:
{
email
:
string
;
id
:
string
;
name
:
string
|
null
}
|
null
;
description
:
string
;
notes
:
string
|
null
;
duration
:
number
|
null
;
partsUsed
:
string
|
null
;
}
;
}
;
}
,
>
,
>
Parameters
request
:
NextRequest
__namedParameters
:
{
params
:
Promise
<
{
id
:
string
}
>
}
Returns
Promise
<
|
NextResponse
<
{
success
:
boolean
;
error
:
string
;
message
:
string
}
>
|
NextResponse
<
{
success
:
boolean
;
message
:
string
;
data
:
{
maintenance
:
{
id
:
string
;
type
:
string
;
status
:
string
;
performedAt
:
Date
;
performer
:
{
email
:
string
;
id
:
string
;
name
:
string
|
null
}
|
null
;
description
:
string
;
notes
:
string
|
null
;
duration
:
number
|
null
;
partsUsed
:
string
|
null
;
}
;
}
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...