ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/opportunities/route
POST
Function POST
POST
(
request
:
NextRequest
,
)
:
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
actions
:
(
{
user
:
{
email
:
string
;
id
:
string
;
name
:
string
|
null
}
}
&
{}
)
[]
;
adv
:
{
email
:
string
;
id
:
string
;
name
:
string
|
null
}
|
null
;
client
:
{
email
:
string
|
null
;
id
:
string
;
name
:
string
}
|
null
;
company
:
{
id
:
string
;
name
:
string
}
|
null
;
createdBy
:
{
email
:
string
;
id
:
string
;
name
:
string
|
null
}
|
null
;
files
:
{
createdAt
:
Date
;
filename
:
string
;
id
:
string
;
key
:
string
;
mimetype
:
string
;
size
:
number
;
url
:
string
;
}
[]
;
keyAccountManager
:
|
{
email
:
string
;
id
:
string
;
name
:
string
|
null
}
|
null
;
lead
:
{
email
:
string
|
null
;
id
:
string
;
name
:
string
}
|
null
;
salesOffers
:
{
createdAt
:
Date
;
id
:
string
;
number
:
string
;
status
:
SalesOfferStatus
;
}
[]
;
technician
:
{
email
:
string
;
id
:
string
;
name
:
string
|
null
}
|
null
;
}
&
{}
,
>
,
>
Parameters
request
:
NextRequest
Returns
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
actions
:
(
{
user
:
{
email
:
string
;
id
:
string
;
name
:
string
|
null
}
}
&
{}
)
[]
;
adv
:
{
email
:
string
;
id
:
string
;
name
:
string
|
null
}
|
null
;
client
:
{
email
:
string
|
null
;
id
:
string
;
name
:
string
}
|
null
;
company
:
{
id
:
string
;
name
:
string
}
|
null
;
createdBy
:
{
email
:
string
;
id
:
string
;
name
:
string
|
null
}
|
null
;
files
:
{
createdAt
:
Date
;
filename
:
string
;
id
:
string
;
key
:
string
;
mimetype
:
string
;
size
:
number
;
url
:
string
;
}
[]
;
keyAccountManager
:
|
{
email
:
string
;
id
:
string
;
name
:
string
|
null
}
|
null
;
lead
:
{
email
:
string
|
null
;
id
:
string
;
name
:
string
}
|
null
;
salesOffers
:
{
createdAt
:
Date
;
id
:
string
;
number
:
string
;
status
:
SalesOfferStatus
;
}
[]
;
technician
:
{
email
:
string
;
id
:
string
;
name
:
string
|
null
}
|
null
;
}
&
{}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...