Stages
Returns data about all stages.
Select
The component will use the Pipedrive API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the component.
- Id supports the '=' operator.
- PipelineId supports the '=' operator.
For example, the following query is processed server side:
SELECT * FROM Stages WHERE Id = 7
INSERT
Insert can be executed by specifying the Name, PipelineId, DealProbability and RottenFlag columns. The columns that are not required can be inserted optionally.
For example:
INSERT INTO Stages (Name, PipelineId, DealProbability, RottenFlag) VALUES ('BangaloreCdataIndia123', '1', '1', '0')
UPDATE
Update can be executed by specifying the Id in the WHERE Clause. The columns that are not read-only can be Updated.
For example:
UPDATE Stages SET Name = 'My name just started here' WHERE Id = 7
DELETE
Delete can be executed by specifying the Id in the WHERE Clause.
For example:
DELETE FROM Stages WHERE Id = 8
Columns
Name | Type | ReadOnly | Description |
Id [KEY] | Integer | True |
ID of the stage. |
ActiveFlag | Boolean | True |
ActiveFlag. |
AddTime | Datetime | True |
AddTime. |
DealProbability | Integer | False |
Deal success probability percentage. |
Name | String | False |
Name of the Stage. |
OrderNr | Integer | False |
An order number for this stage. |
PipelineDealProbability | Integer | True |
PipelineDealProbability. |
PipelineId | Integer | False |
The ID of the Pipeline to add Stage to. |
PipelineName | String | True |
PipelineName. |
RottenDays | String | False |
The number of days the Deals not updated in this Stage would become rotten. Applies only if the rotten_flag is set. |
RottenFlag | Boolean | False |
Whether Deals in this stage can become rotten. The allowed values are 0, 1. |
UpdateTime | Datetime | True |
UpdateTime. |