POST api/2.0/crm/opportunity/stage
Creates an opportunity stage with the parameters (title, description, success probability, etc.) specified in the request.
Name |
Description |
Type |
Example |
title
sent in body
|
Stage title
|
string
|
some text
|
description
sent in body
|
Stage description
|
string
|
some text
|
color
sent in body
|
Stage color
|
string
|
some text
|
successProbability
sent in body
|
Stage success probability
|
number
|
1234
|
stageType
sent in body
|
Stage type
Allowed values: 0 (Open), 1 (ClosedAndWon), 2 (ClosedAndLost)
|
Open, ClosedAndWon, ClosedAndLost
|
Open
|
POST api/2.0/crm/opportunity/stage
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"title": "some text",
"description": "some text",
"color": "some text",
"successProbability": 1234,
"stageType": "Open"
}